Commit Graph

140 Commits

Author SHA1 Message Date
Martin
6690e16115 SynEdit: Refactor TSynSelectedColorMergeResult - fix inheritance structure.
- This change affects compatibility for Highlighters: Code requiring the a tokens Attribute must now decide if it should call "GetTokenAttribute" / "GetEndOfLineAttribute" or "GetTokenAttributeEx" / "GetEndOfLineAttributeEx"
2025-04-06 10:04:14 +02:00
Martin
ebd7f56170 SynEdit: Improve d8e4b249c3, initialize out variable. issue #41553 2025-04-01 13:38:27 +02:00
zeljan1
d8e4b249c3 SynEditTextBuffer: initialize out variable. issue #41553 2025-03-31 13:47:48 +02:00
Martin
6aab34b3e2 SynEdit: move some helper to LazEdit 2025-03-05 23:41:35 +01:00
Martin
72d920bcc6 SynEdit: cleanup, add initialization. 2025-02-23 17:10:57 +01:00
Martin
bdf387d20f SynEdit: add LazLoggerbase to avoid deprecated dbgs / initialize some global var to suppress warning 2025-02-23 13:21:04 +01:00
Martin
c29347cfc7 SynEdit: Show fold indicator on last wrapped line. 2025-02-09 16:20:17 +01:00
Martin
137485b0ab SynEdit: DisplayView, add token origin/kind indicator 2025-02-09 16:20:17 +01:00
Martin
6c2cd439b7 SynEdit: DisplayView, return PhysXPos of first token, paint wrapped sub-lines with correct Phys-X (not Viewed-X) for Markup 2025-02-06 21:42:23 +01:00
Martin
7f4426c2e9 SynEdit: Mark as changed (change gutter) if deleting line with ecDeleteLine (next line will be marked, like when selection was deleted). Issue #41264 2025-01-25 23:31:26 +01:00
Martin
ed45ec5224 SynEdit: partly implement handling of space followed by combining mark. Issue #41228 2024-11-24 18:15:23 +01:00
Martin
906384cc9d Add deprecated for old names. More fixes. 2024-09-23 12:44:32 +02:00
n7800
3610a21aef SynEdit: Fix a typo in the method name TSynEditStringListBase.RemoveManagedHanlders 2024-09-23 10:11:37 +00:00
n7800
7d398b88c7 SynEdit: Fix a typo in the method name TSynEditStringList.CopyHanlders 2024-09-23 10:11:37 +00:00
Martin
5d9f393aae SynEdit: optimize access to textbuffer. 2024-06-25 12:59:52 +02:00
Martin
3a9a269fd1 SynEdit: fix textbuffer access for empty file (no lines at all) / triggered by IME access on empty file. Issue #40999 2024-06-25 12:58:31 +02:00
Martin
a77a04cc4c SynEdit: fix line-change indicator, when adding new lines (without breaking the current line). Issue #30152 2023-06-21 01:44:46 +02:00
Juha
e045ba01d2 Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units. 2023-06-18 14:57:06 +03:00
martin
c82e723e1a SynEdit: allow "Modified:=False" inside BeginUpdate
git-svn-id: trunk@63838 -
2020-08-26 22:24:11 +00:00
martin
289361a48d SynEdit: Update "change gutter" (yellow/green change indicators) to follow undo/redo. Issue #0032865 and issue #0037209
git-svn-id: trunk@63752 -
2020-08-16 12:40:34 +00:00
martin
ee7d180202 SynEdit: added out param AStartBytePos and ALineByteLen to TLazSynDisplayView.SetHighlighterTokensLine
git-svn-id: trunk@63285 -
2020-06-03 23:28:19 +00:00
martin
237ac26a28 SynEdit: replaced AddFoldChangedHandler with senrLineMappingChanged
git-svn-id: trunk@63208 -
2020-05-22 14:54:20 +00:00
martin
88b4e037a4 SynEdit: add ViewToTextIndexEx / rename param for TextIndexToView...
git-svn-id: trunk@63201 -
2020-05-21 18:04:10 +00:00
martin
4c5edbe734 SynEdit: Refactor Notification from Lines. Cache in TextViewManager, and deal with TextBuffer changes (no more need to update in senrTextBufferChanged
git-svn-id: trunk@63197 -
2020-05-21 15:48:47 +00:00
martin
2af8ae984c SynEdit: Clean up "IsUtf8"
git-svn-id: trunk@63155 -
2020-05-14 15:55:06 +00:00
martin
507784f308 SynEdit: improved syncro/template edit to deal with adjacent cells. (no text between cells)
git-svn-id: trunk@60079 -
2019-01-14 01:53:46 +00:00
martin
cc7bb6c248 SynEdit: fix position of multi-caret (after EOL), when column selection is deleted. Issue #0032161
git-svn-id: trunk@58181 -
2018-06-08 10:19:06 +00:00
martin
11a202ca0f SynEdit: assert correct method types
git-svn-id: trunk@55604 -
2017-07-30 16:37:07 +00:00
martin
6b321fe144 SynEdit: revert 52474 #1c0abfedcb/52478 #2a7afe821b // more precise change indicator gutter. Issue #30152
git-svn-id: trunk@52761 -
2016-07-31 23:14:11 +00:00
juha
20639a9df7 SynEdit test: fix compilation in AssertEquals() parameters. Use PtrInt instead of PtrUInt.
git-svn-id: trunk@52587 -
2016-06-30 09:46:20 +00:00
martin
2a7afe821b SynEdit: more precise change indicator gutter. Issue #30152
git-svn-id: trunk@52478 -
2016-06-12 01:51:51 +00:00
martin
1c0abfedcb SynEdit: more precise change indicator gutter. Issue #30152
git-svn-id: trunk@52474 -
2016-06-10 21:34:50 +00:00
juha
4e16799fd7 SynEdit: Initialize variables based on compiler warnings. Contains ToDo items.
git-svn-id: trunk@48478 -
2015-03-24 17:50:59 +00:00
martin
b6efaa244f SynEdit: Multi caret beta
git-svn-id: trunk@47596 -
2015-02-06 02:07:31 +00:00
martin
626258734f SynEdit: speed up large operations (search replace) / fix
git-svn-id: trunk@43764 -
2014-01-18 19:06:02 +00:00
martin
3d9de1aad4 SynEdit: speed up large operations (search replace)
git-svn-id: trunk@43760 -
2014-01-18 01:19:11 +00:00
martin
cb80606ad0 SynEdit: Return past-end-of line attribute in multi line comments // support for p-eol attibute
git-svn-id: trunk@43419 -
2013-11-11 01:17:41 +00:00
martin
1c99638ea5 SynEdit: various minor speed improvements (replace selection)
git-svn-id: trunk@39835 -
2013-01-12 10:47:23 +00:00
martin
d61a0ebb2e SynEdit: ecDelete use codepoints instead of chars
git-svn-id: trunk@39483 -
2012-12-09 03:31:37 +00:00
martin
1fa774e608 SynEdit: added arabic combining chars
git-svn-id: trunk@39122 -
2012-10-18 00:35:21 +00:00
martin
0b12629f67 SynEdit: refactor detection of combining chars
git-svn-id: trunk@39120 -
2012-10-18 00:04:13 +00:00
martin
4828ed9f53 SynEdit: ecChar fix typing none latin at EOL / and file missing from enable BiDi
git-svn-id: trunk@39110 -
2012-10-17 11:12:51 +00:00
martin
d5617322c3 SynEdit: ecLeft/Right for future bidi support
git-svn-id: trunk@39102 -
2012-10-16 13:45:54 +00:00
martin
efacf7ff55 SynEdit: fix commit 39095 #bfe4ef2227 - Delete last char in line
git-svn-id: trunk@39096 -
2012-10-15 22:50:28 +00:00
martin
caf2837329 SynEdit: more support for combining codepoints
git-svn-id: trunk@39094 -
2012-10-15 21:54:06 +00:00
martin
1e3155a104 SynEdit: Markup and more paint-token-breaker for future bidi support
git-svn-id: trunk@38987 -
2012-10-07 17:19:21 +00:00
martin
4ee95d2f5b SynEdit: Fixed crash with certain chars. Issue #0022926. Certain chars were handled as "combining Marks". Introduced in rev 38669 #069b89f42f
git-svn-id: trunk@38827 -
2012-09-25 11:49:48 +00:00
martin
069b89f42f SynEdit: Start handling combined utf8 chars (fix painting/selection)
git-svn-id: trunk@38669 -
2012-09-15 14:47:18 +00:00
martin
e0b9cef954 SynEdit: Clean up lots of IFDEF. Patch by zaher dirkey. Issue #0022186
git-svn-id: trunk@37782 -
2012-06-25 22:49:31 +00:00
martin
6a79dbc976 SourceEdit: when file changed on disc: keep topline / revert 36226 #77d9a604b6
git-svn-id: trunk@36227 -
2012-03-22 18:28:03 +00:00