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>2020-10-02 10:07:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-02 10:07:35 +0300
commit09082e15d00457bc22826c7d419a6dfb6c9905bd (patch)
tree5cc49033ab474373401f738384a963739be4600d /source/blender/editors/space_text/text_intern.h
parent4053fa9fcbe37900e8035079d76cbea6ca1f2461 (diff)
Fix text editor auto-complete mouse interaction
- Remove MMB for activating an auto-complete item (use LMB instead). - Update on cursor motion.
Diffstat (limited to 'source/blender/editors/space_text/text_intern.h')
-rw-r--r--source/blender/editors/space_text/text_intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_intern.h b/source/blender/editors/space_text/text_intern.h
index e3c0e436ac4..a33af56e11a 100644
--- a/source/blender/editors/space_text/text_intern.h
+++ b/source/blender/editors/space_text/text_intern.h
@@ -91,7 +91,7 @@ int text_get_char_pos(const struct SpaceText *st, const char *line, int cur);
void text_drawcache_tag_update(struct SpaceText *st, int full);
void text_free_caches(struct SpaceText *st);
-int text_do_suggest_select(struct SpaceText *st, struct ARegion *region);
+bool text_do_suggest_select(struct SpaceText *st, struct ARegion *region, const int mval[2]);
void text_pop_suggest_list(void);
int text_get_visible_lines(const struct SpaceText *st, struct ARegion *region, const char *str);