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:
authorMatheus Santos <MatheusSantos>2021-11-30 01:18:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-30 06:32:52 +0300
commitda279927b1ea6d1d7ee2272bd1188d10d443f12b (patch)
treee86208a9743330f8c021ef2530a89b1ae32a8701 /source/blender/editors/space_text
parentac447ba1a3f2479f65c9ceddebaafc47681623ba (diff)
Text Editor: Line number highlight follow selection
Change the current behavior of line number highlighting to follow the current selected line text->sell, not the current line text->curl.
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c
index f8d16e396d4..589a8859eeb 100644
--- a/source/blender/editors/space_text/text_draw.c
+++ b/source/blender/editors/space_text/text_draw.c
@@ -1671,7 +1671,7 @@ void draw_text_main(SpaceText *st, ARegion *region)
if (st->showlinenrs && !wrap_skip) {
/* Draw line number. */
- UI_FontThemeColor(tdc.font_id, (tmp == text->curl) ? TH_HILITE : TH_LINENUMBERS);
+ UI_FontThemeColor(tdc.font_id, (tmp == text->sell) ? TH_HILITE : TH_LINENUMBERS);
BLI_snprintf(linenr,
sizeof(linenr),
"%*d",