PageRenderTime 33ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/TeXmacs-1.0.7.11-src/src/Data/Tree/tree_cursor.hpp

#
C++ Header | 31 lines | 17 code | 5 blank | 9 comment | 0 complexity | a66c7feb0dd99520bc94c18b48e05668 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, MPL-2.0-no-copyleft-exception
  1. /******************************************************************************
  2. * MODULE : tree_cursor.hpp
  3. * DESCRIPTION: abstract cursor handling
  4. * COPYRIGHT : (C) 1999 Joris van der Hoeven
  5. *******************************************************************************
  6. * This software falls under the GNU general public license version 3 or later.
  7. * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
  8. * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
  9. ******************************************************************************/
  10. #ifndef TREE_CURSOR_H
  11. #define TREE_CURSOR_H
  12. #include "path.hpp"
  13. bool is_inside (tree t, path p);
  14. path closest_inside (tree t, path p);
  15. bool is_accessible_cursor (tree t, path p);
  16. path closest_accessible (tree t, path p);
  17. void show_hidden_upwards (tree t, path p);
  18. bool valid_cursor (tree t, path p, bool start_flag= false);
  19. path start (tree t, path p);
  20. path end (tree t, path p);
  21. path start (tree t);
  22. path end (tree t);
  23. path correct_cursor (tree t, path p);
  24. path super_correct (tree t, path p);
  25. path shift (tree t, path p, int dir);
  26. #endif // defined TREE_CURSOR_H