Commit Graph

1095 Commits

Author SHA1 Message Date
Martin
f21293c5d0 SynEdit: fixed SynPopUpMenu, enable/disable select all / Added SynEdit.HasText to check if non-empty 2023-07-09 10:18:36 +02:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
Juha
c3891ad820 Reduce compiler warnings. 2023-07-03 06:23:49 +03:00
Martin
c4a57d1eb6 SynEdit: Add elastic Tabstops 2023-07-02 20:45:33 +02:00
Martin
3ea6f9923c SynEdit: fixes for exact scroll range depending on "caret past eol" options. Ensure setting new options takes immediate effect 2023-06-02 16:36:16 +02:00
Martin
7ce80f47d4 SynEdit: implement different "caret past eol" options. Issue #40282 2023-05-28 11:52:46 +02:00
Martin
ef3d4efc17 SynEdit: fix calculation of scroll-range, to keep text-caret visible if at EOL 2023-05-28 11:52:45 +02:00
rich2014
a2ec18bfe4 LCL/SynEdit: ADD: MacOS IME fully supported 2023-05-03 21:31:25 +08:00
Martin
29f079e7c1 SynEdit: Scrolling for dragging needs to happen while the mouse is inside the editor (near the edge). Otherwise the source edit, keeps scrolling while over a drop target outside it. Issue #40177 2023-03-25 16:28:51 +01:00
Martin
ebf6768e85 SynEdit: Improve boundary checks in MouseMove (while drag or select). Remove some obsolete checks. 2023-03-24 23:33:11 +01:00
Martin
bc2d68125a SynEdit: fix DragOver, don't reset caret to pos=1 if dragging over gutter or decoration, related to issue #40177 2023-03-24 23:33:10 +01:00
Martin
f7686f03f1 SynEdit, Windows: Suppress ALT key from focusing main menu, if the ALT key was a modifier to a mouse-action (e.g. Scroll-wheel). Issue #40007 2023-02-04 10:42:30 +01:00
Martin
6793da0620 SynEdit: fix crash/hang (endless loop) in SearchReplace. Advance 1 char, if regex returns an zero-len match. Issue #39999 2022-11-22 15:44:40 +01:00
Martin
5b23421c5d SynEdit: fixed incorrect line-invalidation / repaint when scrolling (with folded text) 2022-04-05 10:57:15 +02:00
Martin
f5e70a4f0b SynEdit: Internal caret (multi caret / custom-color caret) wait for Paint event. Avoid moving/painting the internal caret onto outdated text. 2022-04-01 15:02:47 +02:00
martin
61292d7a4b SynEdit: Handle new Gtk2 IM / Experimental / Issue #38730 / Based on Patch by Do-wan Kim / Moved to new unit / See commit 65175 #176f0b3310
git-svn-id: trunk@65237 -
2021-06-15 13:06:15 +00:00
maxim
c1a767e4ce SynEdit: fixed typos related to 'occur' word
git-svn-id: trunk@65201 -
2021-06-10 22:13:34 +00:00
martin
176f0b3310 SynEdit: Handle new Gtk2 IM / Experimental / Issue #38730 / Based on Patch by Do-wan Kim / Moved to new unit
git-svn-id: trunk@65175 -
2021-06-05 22:33:53 +00:00
juha
9eb3d04915 SynEdit: De-deprecate TCustomSynEdit.FoldState until we have an alternative. Improve editor general options layout a little.
git-svn-id: trunk@65138 -
2021-05-26 09:16:29 +00:00
martin
38d12137b3 SynEdit: fix for replace in column-mode selection
git-svn-id: trunk@64827 -
2021-03-16 20:40:24 +00:00
martin
0c46287ea3 SynEdit: publish OnContextPopup, OnResize. Issue #038511
git-svn-id: trunk@64622 -
2021-02-19 02:13:52 +00:00
ondrej
e80edc6b0d SynEdit: revert wrong changes (ScreenRowToRow->ScreenXYToTextXY, RowToScreenRow->TextXYToScreenXY) during the circular dependency removal
git-svn-id: trunk@64580 -
2021-02-14 18:46:26 +00:00
ondrej
d7e459768f SynEdit: fix r64487 #583d01104a causing AV
git-svn-id: trunk@64495 -
2021-02-05 15:16:18 +00:00
ondrej
a38a50b397 SynEdit: remove circular dependency between SynEdit and SynGutterMarks
git-svn-id: trunk@64491 -
2021-02-05 14:20:11 +00:00
ondrej
34386c9031 SynEdit: remove circular dependency between SynEdit and SynGutterLineOverview
git-svn-id: trunk@64489 -
2021-02-05 13:53:21 +00:00
ondrej
0060c09037 SynEdit: remove circular dependency between SynEdit and SynGutterLineNumber
git-svn-id: trunk@64488 -
2021-02-05 13:48:38 +00:00
ondrej
583d01104a SynEdit: remove circular dependency between SynEdit and SynGutterCodeFolding
git-svn-id: trunk@64487 -
2021-02-05 13:43:42 +00:00
ondrej
e966434b1a SynEdit: remove circular dependency between SynEdit and SynGutterChanges
git-svn-id: trunk@64486 -
2021-02-05 13:32:42 +00:00
ondrej
8e68209e37 SynEdit: remove circular dependency between SynEdit and SynEditMarkupBracket
git-svn-id: trunk@64484 -
2021-02-05 13:28:58 +00:00
ondrej
454ff7cfe4 SynEdit: remove circular dependency between SynEdit and SynEditMarkupHighAll
git-svn-id: trunk@64483 -
2021-02-05 13:26:18 +00:00
ondrej
cb11098e23 SynEdit: remove circular dependency between SynEdit and SynEditMarkupSelection
git-svn-id: trunk@64481 -
2021-02-05 13:24:16 +00:00
ondrej
3c494e28e9 SynEdit: remove circular dependency between SynEdit and SynEditMarkupGutterMark
git-svn-id: trunk@64480 -
2021-02-05 13:20:26 +00:00
ondrej
3afd98807d SynEdit: remove circular dependency between SynEdit and SynEditMarkupFoldColoring
git-svn-id: trunk@64479 -
2021-02-05 13:16:45 +00:00
ondrej
5decda7645 SynEdit: remove circular dependency between SynEdit and SynEditMarkupCtrlMouseLink
git-svn-id: trunk@64478 -
2021-02-05 13:07:33 +00:00
ondrej
e37b60f683 SynEdit: remove circular dependency between SynEdit and SynEditMarkup
git-svn-id: trunk@64477 -
2021-02-05 13:01:19 +00:00
ondrej
1333c96771 SynEdit: remove circular dependency between SynEdit and SynEditFoldedView
git-svn-id: trunk@64476 -
2021-02-05 12:54:49 +00:00
ondrej
33d906c98b SynEdit: remove circular dependency between SynEdit and LazSynIMM
git-svn-id: trunk@64475 -
2021-02-05 12:40:36 +00:00
ondrej
b6b32fe910 SynEdit: remove circular dependency between SynEdit and SynBeautifier
git-svn-id: trunk@64474 -
2021-02-05 12:16:43 +00:00
ondrej
40268610ae SynEdit: move implementation uses to interface
git-svn-id: trunk@64459 -
2021-02-05 11:23:37 +00:00
ondrej
d8a8497788 SynEdit: remove circular dependency between SynGutterBase and SynEdit
git-svn-id: trunk@64458 -
2021-02-05 10:29:32 +00:00
ondrej
1e38e0210b SynEdit: fix default values for streaming of TSynScrollOnEditLeftOptions and TSynScrollOnEditRightOptions
git-svn-id: trunk@64456 -
2021-02-02 11:07:58 +00:00
martin
94b1982906 SynEdit: do not drag selection if shift is hold. This is for altering the selection. Issue #0037963
git-svn-id: trunk@64257 -
2020-12-20 19:38:19 +00:00
mattias
0d8743d0ef IDE: exttools: show env
git-svn-id: trunk@64217 -
2020-12-17 14:38:24 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
martin
1be98b28e2 SynEdit: add eoAcceptDragDropEditing / keep state from OnDragOver if eoAcceptDragDropEditing is NOT set. Issue #37724
git-svn-id: trunk@63883 -
2020-09-14 12:47:50 +00:00
martin
46f288366e SynEdit: Drag-Selection copy/move - Allow line/column selections Issue #0037431 -- Prevent applying fold info, in case of smColumn
git-svn-id: trunk@63759 -
2020-08-16 15:57:17 +00:00
martin
3efdc51977 SynEdit: Drag-Selection copy/move - Allow line/column selections Issue #0037431
git-svn-id: trunk@63758 -
2020-08-16 15:40:55 +00:00
martin
447eff955c SynEdit: Drag-Selection copy/move - Select newly dropped text (except if persistent selection exists) Issue #0037433
git-svn-id: trunk@63757 -
2020-08-16 15:40:53 +00:00
martin
e7835738c3 SynEdit: Drag-Selection copy/move - Allow copy to immediately next to source-selection Issue #0037432 - Also set DragCursor to indicate acceptance of drop.
git-svn-id: trunk@63756 -
2020-08-16 15:40:51 +00:00
martin
e773812f85 SynEdit: Improved IsPointInSelection
git-svn-id: trunk@63755 -
2020-08-16 15:40:49 +00:00