Skip to content

Commit d5c7567

Browse files
committed
Highlight selection up to right border
* In Haiku selection in text fields is highlighted to window border.
1 parent 9b4bac3 commit d5c7567

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/editor/Editor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Editor::Editor()
6262
SendMessage(SCI_SETIMEINTERACTION, SC_IME_INLINE);
6363
SendMessage(SCI_SETWRAPVISUALFLAGS, SC_WRAPVISUALFLAG_MARGIN);
6464
SendMessage(SCI_USEPOPUP, 0);
65+
SendMessage(SCI_SETSELEOLFILLED, 1);
6566

6667
SetExplicitMinSize(BSize(1.0f, 1.0f));
6768
}

src/find/FindScintillaView.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ ScintillaView::ScintillaView(const char* name, uint32 getMessage,
1919
:
2020
BScintillaView(name, flags, horizontal, vertical, border)
2121
{
22+
SendMessage(SCI_SETSELEOLFILLED, 1);
23+
2224
_UpdateColors();
2325
fStatusView = new find::StatusView(this,
2426
getMessage, clearMessage, applyMessage);

0 commit comments

Comments
 (0)