Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-05-01 04:15:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-01 04:15:22 +0400
commit9e75d276e31caa581ad14f4561aed03c57e2b2c9 (patch)
treed9ed28d32d834514c36ad24b0dc667dc60731d51 /source/blender/blenkernel/BKE_text.h
parent04234c5287d10fa0dea381c5032e47bd9a48ee3f (diff)
holding ctrl when using arrow keys in the text editor didn't navigate newlines.
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r--source/blender/blenkernel/BKE_text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h
index 5e81fb85d76..8fd712bde72 100644
--- a/source/blender/blenkernel/BKE_text.h
+++ b/source/blender/blenkernel/BKE_text.h
@@ -101,6 +101,8 @@ void txt_uncomment (struct Text *text);
void txt_move_lines (struct Text *text, const int direction);
void txt_duplicate_line (struct Text *text);
int txt_setcurr_tab_spaces(struct Text *text, int space);
+bool txt_cursor_is_line_start(struct Text *text);
+bool txt_cursor_is_line_end(struct Text *text);
/* utility functions, could be moved somewhere more generic but are python/text related */
int text_check_bracket(const char ch);