summaryrefslogtreecommitdiff
path: root/editors/lazarus/files
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lazarus/files')
-rw-r--r--editors/lazarus/files/patch-components-synedit_synedit.pp20
-rw-r--r--editors/lazarus/files/pkg-message.in3
2 files changed, 22 insertions, 1 deletions
diff --git a/editors/lazarus/files/patch-components-synedit_synedit.pp b/editors/lazarus/files/patch-components-synedit_synedit.pp
new file mode 100644
index 000000000000..92a6300235d4
--- /dev/null
+++ b/editors/lazarus/files/patch-components-synedit_synedit.pp
@@ -0,0 +1,20 @@
+--- components/synedit/synedit.pp 2018-01-30 13:41:54.904942000 -0500
++++ components/synedit/synedit.pp 2018-01-30 13:40:23.811860000 -0500
+@@ -8945,7 +8945,7 @@
+ while not Highlighter.GetEol do begin
+ Start := Highlighter.GetTokenPos + 1;
+ Token := Highlighter.GetToken;
+- if (PosX >= Start) and (PosX <= Start + Length(Token)) then begin
++ if (PosX >= Start) and (PosX < Start + Length(Token)) then begin
+ Attri := Highlighter.GetTokenAttribute;
+ TokenType := Highlighter.GetTokenKind;
+ exit(True);
+@@ -8990,7 +8990,7 @@
+ //TokenType := Highlighter.GetTokenKind;
+ Attri := Highlighter.GetTokenAttribute;
+ //DebugLn([' TCustomSynEdit.CaretAtIdentOrString: Start=', Start, ', Token=', Token]);
+- if (PosX >= Start) and (PosX <= Start + Length(Token)) then
++ if (PosX >= Start) and (PosX < Start + Length(Token)) then
+ begin
+ AtIdent := Attri = Highlighter.IdentifierAttribute;
+ NearString := (Attri = Highlighter.StringAttribute)
diff --git a/editors/lazarus/files/pkg-message.in b/editors/lazarus/files/pkg-message.in
index c9404b376f8e..185aa361e4c4 100644
--- a/editors/lazarus/files/pkg-message.in
+++ b/editors/lazarus/files/pkg-message.in
@@ -27,8 +27,9 @@ The Lazarus RAD was installed
editors/lazarus-lcl-nogui
editors/lazarus-lcl-gtk2
editors/lazarus-lcl-qt
+ editors/lazarus-lcl-qt5
- You can added those ports if you want support for nogui, gtk2 or qt
+ You can added those ports if you want support for nogui, gtk2, qt or qt5
interfaces. Please look at net-p2p/transmission-remote-gui like a example of
how use it