diff options
author | Matheus Santos <MatheusSantos> | 2021-11-30 01:18:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-30 06:32:52 +0300 |
commit | da279927b1ea6d1d7ee2272bd1188d10d443f12b (patch) | |
tree | e86208a9743330f8c021ef2530a89b1ae32a8701 /source | |
parent | ac447ba1a3f2479f65c9ceddebaafc47681623ba (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')
-rw-r--r-- | source/blender/editors/space_text/text_draw.c | 2 |
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", |