Martin
|
e05279af09
|
IDE, SynEdit: add ecDeleteLineKeepX
|
2025-03-23 12:57:15 +01:00 |
|
Martin
|
84a59bc88a
|
SynEdit: add SQL dialect for MSSQL 2022. Issue #41543 Patch by paweld
|
2025-03-23 11:14:05 +01:00 |
|
Martin
|
822c0a1667
|
SynEdit: add SQL dialect for MSSQL 2022. Issue #41543 Patch by paweld
|
2025-03-23 10:35:23 +01:00 |
|
Martin
|
c118272fc2
|
SynEdit: PascalHighlighter, optimize pasdoc scanning
|
2025-03-23 00:20:14 +01:00 |
|
Martin
|
df8d5fbc1b
|
SynEdit: PascalHighlighter, Implement colors for nested brackets
|
2025-03-22 21:15:09 +01:00 |
|
Martin
|
f32ec2f41b
|
SynEdit: PascalHighlighter, improve param/type attribs for anonymous procedures
|
2025-03-22 18:50:40 +01:00 |
|
Martin
|
be2125328e
|
SynEdit: WordWrap, fix re-wrap. "Validate()" may have validated further nodes, NextBlockForValidation needs to check that before returning a node.
|
2025-03-22 18:50:03 +01:00 |
|
Martin
|
f74f454aee
|
SynEdit: PasHighlighter, don't attempt to merge nil attrib
|
2025-03-21 16:21:11 +01:00 |
|
Martin
|
4b3cb64bd6
|
SynEdit: elastic tab, fix stack overflow with shared text buffers. Ping-pong between 2 elastic-tab-views.
|
2025-03-21 15:06:33 +01:00 |
|
Martin
|
58bbbf0696
|
SynEdit: PasHighLighter, reduce overhead for extra-attrib-colors
|
2025-03-21 15:06:33 +01:00 |
|
Martin
|
41ef935d69
|
SynEdit: PasHighLighter, improve partial code detection. Check if function/procedure can be a type-declaration, or are a named function.
|
2025-03-20 20:35:40 +01:00 |
|
Martin
|
930711d80f
|
SynEdit: PasHighLighter, improve partial code detection. Check if function/procedure can be a type-declaration, or are a named function.
|
2025-03-20 20:34:35 +01:00 |
|
Martin
|
a62266dc99
|
SynEdit: Fix crash when textviews were changed, introduced in 6efa78a255
|
2025-03-20 19:44:08 +01:00 |
|
Martin
|
4a81cf9580
|
SynEdit: PasHighLighter, improve partial code detection. Check if function/procedure can be a type-declaration, or are a named function.
|
2025-03-20 17:36:03 +01:00 |
|
Martin
|
2a78f345ae
|
SynEdit: PasHighLighter, improve cppclass, allow external
|
2025-03-20 11:43:56 +01:00 |
|
Martin
|
900e58ed4f
|
Ide, TodoListLaz: Add IdeIntf for color scheme / Add "todo comment" markup for SourceEditor Issue #41420
|
2025-03-19 23:22:18 +01:00 |
|
Martin
|
6efa78a255
|
IDE, SynEdit: update Scrollbars when view change (e.g. wrap added/removed) / Add Begin/EndUpdate
|
2025-03-19 17:09:25 +01:00 |
|
Martin
|
bf72b42576
|
SynEdit: PasHighLighter, improve class section (public/private) in unfinished code. Prefer showing as keyword.
|
2025-03-17 13:19:55 +01:00 |
|
Martin
|
08a52e82f2
|
SynEdit: PasHighLighter, fix case-label vs goto-label
|
2025-03-17 10:53:31 +01:00 |
|
Martin
|
515752eac7
|
SynEdit: PasHighLighter, "is nested"
|
2025-03-16 21:56:47 +01:00 |
|
Martin
|
1ec1f1e30c
|
SynEdit: PasHighLighter, improve "external name ..."
|
2025-03-16 21:03:10 +01:00 |
|
Martin
|
f76ca60849
|
SynEdit: PasHighlighter, improve objectiveC parsing
|
2025-03-16 20:02:35 +01:00 |
|
Martin
|
b6082c2ab0
|
SynEdit: PasHighLighter, fix extra-declaration-attrib in class-header
|
2025-03-16 20:02:07 +01:00 |
|
Martin
|
08474de466
|
SynEdit: PasHighLighter, replace NestedComments, TypeHelpers with new property ModeSwitches
|
2025-03-16 20:02:07 +01:00 |
|
Martin
|
434454b4ed
|
SynEdit: PasHighLighter, do not change FRange when processing comments
|
2025-03-16 15:35:49 +01:00 |
|
Martin
|
e10c541331
|
SynEdit: PasHighLighter, refactor rsAtClass,rsAfterClass handling. Rename to tsAfterClass,tsInClassHeader
|
2025-03-16 15:35:48 +01:00 |
|
Martin
|
92d49a3945
|
SynEdit: PasHighLighter, introduce tsAtBeginOfStatement instead of rsAfterSemiColon
|
2025-03-16 15:35:48 +01:00 |
|
Martin
|
eb3a93ba6b
|
SynEdit: PasHighLighter, introduce tsAfterVarConstType instead of (tsAfterExternal + semicolon)
|
2025-03-16 15:35:41 +01:00 |
|
Martin
|
098985e106
|
SynEdit: Apply locks before destructions. No need to update any internal values (e.g. caret pos) any more. Fix crash, when wrap and multi-caret active.
|
2025-03-15 11:58:11 +01:00 |
|
Maxim Ganetsky
|
32f9d39f60
|
SynEdit: regenerated translations and updated Russian translation
|
2025-03-12 17:40:10 +03:00 |
|
Maxim Ganetsky
|
35d6b756ce
|
SynEdit: fixed typo in a resource string
|
2025-03-12 17:37:53 +03:00 |
|
Martin
|
9cadb97d54
|
SynEdit: PascalHighlighter, implement new highlights for declaration sections and proc-headers: param, type, value. / fix missing ranges in scan
|
2025-03-12 00:23:47 +01:00 |
|
Martin
|
83509a5b76
|
SynEdit: PascalHighlighter, implement new highlights for declaration sections and proc-headers: param, type, value. Implement basic label and structure-member (after dot) highlight. Issues #22711 and #40152
|
2025-03-11 23:13:46 +01:00 |
|
Martin
|
6c2a52efe0
|
SynEdit: fix OnClearMark, checking the correct fields for assigned. Issue #41522
|
2025-03-11 10:26:51 +01:00 |
|
Martin
|
13186bcc24
|
SynEdit: PascalHighlighter, refactor/replace ranges for const/type with internal folds / fix ^ handling for pointer vs control-char. Issue #40653
|
2025-03-10 00:03:19 +01:00 |
|
Martin
|
38a42db5b5
|
SynEdit: PascalHighlighter, refactor/replace ranges for const/type with internal folds / fix ^ handling for pointer vs control-char. Issue #40653
|
2025-03-09 23:18:11 +01:00 |
|
Martin
|
37a7a053b1
|
SynEdit: FoldedView, fix modifier "enumerator"
|
2025-03-09 22:19:16 +01:00 |
|
Martin
|
a61fd69df0
|
SynEdit: FoldedView, fix internal setting of TopViewPos (Only visible lines)
|
2025-03-09 17:10:45 +01:00 |
|
Martin
|
847f6ab0e4
|
SynEdit: FoldedView, fix accessing out of range lines (due to wrong internal fTopViewPos). Introduced in 86abcd75d9
|
2025-03-09 12:44:46 +01:00 |
|
Martin
|
1c97b17a3a
|
SynEdit: PascalHighlighter, refactor - set new fRange directly for rsAfterIdentifierOrValue
|
2025-03-08 11:41:32 +01:00 |
|
Martin
|
0454d6eacf
|
SynEdit: PascalHighlighter, improve "class of". Issue #33014
|
2025-03-08 11:41:31 +01:00 |
|
Martin
|
c432571c66
|
SynEdit: PascalHighlighter, highlight "at" in raise statement like a keyword. Issue #22667
|
2025-03-08 11:41:31 +01:00 |
|
Martin
|
cf948b040d
|
SynEdit: Added align-option to auto-string continue on line-break. Issue #23886
|
2025-03-07 01:01:25 +01:00 |
|
Martin
|
277a8f0a31
|
IDE, SynEdit: Add column-selection-shift (shift inside selection only) Issue #40978
|
2025-03-06 18:06:18 +01:00 |
|
Martin
|
a66269e8bb
|
SynEdit: fix single-line (mode=smLine) selection was not restored by undo (e.g. after undo after indent). Related to issue #29591
|
2025-03-06 17:50:58 +01:00 |
|
Martin
|
6aab34b3e2
|
SynEdit: move some helper to LazEdit
|
2025-03-05 23:41:35 +01:00 |
|
Martin
|
2ef9a0607c
|
SynEdit: fix SyncroEdit for chars with different upper/lower length. Issue #41446
|
2025-03-05 23:38:11 +01:00 |
|
Martin
|
e393919040
|
SynEdit: PasHighLighter, fix "record helper" in "mode objfpc" with modeswitches.
|
2025-03-05 11:42:39 +01:00 |
|
Martin
|
79938e1f39
|
SynEdit: hide complier message about "not inline" 3124
|
2025-03-05 11:42:38 +01:00 |
|
Martin
|
3643ab0c2c
|
SynEdit: Refactor WordWrap
|
2025-03-05 11:42:38 +01:00 |
|
Martin
|
deb16e750d
|
SynEdit: Refactor avl trees
|
2025-03-05 11:42:38 +01:00 |
|
Martin
|
29cfa37c37
|
SynEdit: Test, exclude reg-ex that fails in older fpc 3.2.0
|
2025-03-05 11:42:37 +01:00 |
|
Martin
|
f7b9a6020a
|
SynEdit: disable warning 6060 "case does not handle all cases" for fpc 3.2.3 and up
|
2025-03-02 10:34:57 +01:00 |
|
Martin
|
955ddfa0bb
|
Revert "SynEdit: disable warning 6060 "case does not handle all cases""
This reverts commit afe5864aaa .
|
2025-03-01 21:45:00 +01:00 |
|
Martin
|
afe5864aaa
|
SynEdit: disable warning 6060 "case does not handle all cases"
|
2025-03-01 13:28:22 +01:00 |
|
Martin
|
75bf0c3c01
|
SynEdit: reduce compile warnings
|
2025-03-01 13:28:22 +01:00 |
|
Martin
|
b50acfc112
|
SynEdit: fixed using for-var after loop.
|
2025-03-01 13:28:22 +01:00 |
|
Martin
|
7b77a98bcf
|
SynEdit: fixed methods hidden by inherited
|
2025-03-01 13:28:21 +01:00 |
|
Martin
|
17df0bfeba
|
SynEdit: Tests, add LazLoggerBase
|
2025-03-01 13:28:21 +01:00 |
|
Martin
|
69d65e704d
|
SynEdit: Initialize "Result" var of managed type (avoid mem re-alloc in case caller passes non-nil). Issue #41461 (see notes).
|
2025-03-01 13:28:20 +01:00 |
|
Martin
|
0fff8e203f
|
LazUtils: rename trNoError (TConvertResult) to trSuccess
|
2025-02-28 15:37:06 +01:00 |
|
Martin
|
2a163318e5
|
SynEdit: multi caret, fix screen positions for wrapped lines
|
2025-02-28 15:32:00 +01:00 |
|
Martin
|
a39516d0db
|
SynEdit: clean up, formatting !442
|
2025-02-28 00:10:55 +01:00 |
|
Martin
|
a83574e245
|
SynEdit: WrappedView, add MaxWrapWidth
|
2025-02-27 16:40:59 +01:00 |
|
Martin
|
d8e64144ee
|
SynEdit: WrappedView, remove incorrect assert. New range can overlap several existing ranges
|
2025-02-27 12:47:56 +01:00 |
|
Martin
|
2219f01ce4
|
SynEdit: clean up compiler warning. Issue #41475
|
2025-02-27 11:05:48 +01:00 |
|
Martin
|
57240dc768
|
SynEdit: clean up completion IsIdentifierChar
|
2025-02-27 11:00:43 +01:00 |
|
Martin
|
72d920bcc6
|
SynEdit: cleanup, add initialization.
|
2025-02-23 17:10:57 +01:00 |
|
Martin
|
93da409830
|
SynEdit: disabled hint for "not inlining inherited" 3123
|
2025-02-23 17:10:56 +01:00 |
|
Martin
|
5c62f7b497
|
SynEdit: disabled "INLINE OFF" / used for debugging
|
2025-02-23 17:10:56 +01:00 |
|
Martin
|
faccb609a2
|
SynEdit: fix "paste as column", don't move caret-x, if last pasted line is empty
|
2025-02-23 17:10:56 +01:00 |
|
Martin
|
fb8fecd205
|
SynEdit: cleanup, remove unused var
|
2025-02-23 13:21:09 +01:00 |
|
Martin
|
66f8a5dcb5
|
SynEdit: experimental charwidth, restore alternative call
|
2025-02-23 13:21:09 +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
|
9487a177c5
|
SynEdit: suppress warnings for "managed local var not initialized" 5091 / Mark SetLength(Result) with {%H-} where needed
|
2025-02-23 13:21:04 +01:00 |
|
Martin
|
4a1b682e2e
|
SynEdit: clean up, remove empty "init" / the hidden "init" is/was called by the inherited constructor anyway
|
2025-02-23 13:21:04 +01:00 |
|
Martin
|
77c774f95a
|
SynEdit: Fix testcase compilation
|
2025-02-22 21:36:26 +01:00 |
|
Martin
|
1af3482262
|
SynEdit: Prevent duplicate OnStatusChanged calls during recursions.
|
2025-02-22 21:36:26 +01:00 |
|
Martin
|
baef0f2c7a
|
SynEdit: WrappedView, do not wrap before handle creation, wait for valid size of editor
|
2025-02-22 17:30:08 +01:00 |
|
Juha
|
3a76986108
|
SynEdit: Cleanup.
|
2025-02-22 15:02:17 +02:00 |
|
Martin
|
aac3d8d8db
|
SynEdit: WrappedView, keep topline when rewrapping
|
2025-02-21 16:56:30 +01:00 |
|
Martin
|
507e0d9ceb
|
IDE, SynEdit: WrappedView, clean up / move init to parent class
|
2025-02-21 16:56:30 +01:00 |
|
Martin
|
9be3f21e0f
|
SynEdit: WrappedView, added special home/end key handling
|
2025-02-21 13:13:17 +01:00 |
|
Juha
|
41f4be3c95
|
SynEdit: Debug TSynPluginSyncroEdit.Scan and remove an assertion. Issue #41446.
|
2025-02-21 02:01:36 +02:00 |
|
Martin
|
649f6ccbc8
|
SynEdit: WrappedView, Caret, fixed leftmost position with indent
|
2025-02-16 22:52:43 +01:00 |
|
Martin
|
3bf2791292
|
SynEdit: WrappedView, Caret, fixed position for fullwidth chars
|
2025-02-16 22:48:14 +01:00 |
|
Martin
|
5b080436ce
|
SynEdit: WrappedView, caret calculations for RTL/LTR text
|
2025-02-16 21:30:50 +01:00 |
|
Martin
|
43b194714e
|
SynEdit: WrappedView, add some MarkupColors
|
2025-02-16 20:56:43 +01:00 |
|
Martin
|
5a2dab70e4
|
SynEdit: WrappedView, add indent for wrapped lines
|
2025-02-16 20:56:43 +01:00 |
|
Martin
|
b96f00e77f
|
SynEdit: add ETO_RTLREADING to tokendrawer, required if wrapped text starts with weak RTL char
|
2025-02-16 20:56:43 +01:00 |
|
Martin
|
6552d52af2
|
SynEdit: remove incorrect assert from 211a0a8b90 , need to return empty token if skipping off-screen exceeds next markup - only then new next markup can be calculated.
|
2025-02-10 10:30:17 +01:00 |
|
Martin
|
b1ba753964
|
SynEdit: remove incorrect assert from 211a0a8b90 , need to return empty token if skipping off-screen exceeds next markup - only then new next markup can be calculated.
|
2025-02-09 23:11:11 +01:00 |
|
Martin
|
3d01335568
|
SynEdit: Fix detecting combining after white-space (tab). Amend fix from commit ed45ec5224 See Issue #41228
|
2025-02-09 23:11:11 +01:00 |
|
Martin
|
696cf7c7b5
|
SynEdit: fixed "DX" (ETO) values for visualized tabs. An extra value was inserted, shifting subsequent values by one (noticeable when "full-width" chars were on the same line)
|
2025-02-09 23:11:11 +01:00 |
|
Martin
|
c29347cfc7
|
SynEdit: Show fold indicator on last wrapped line.
|
2025-02-09 16:20:17 +01:00 |
|
Martin
|
269f304c2c
|
SynEdit: Fix fold gutter for wrapped line with +/- fold indicator.
|
2025-02-09 16:20:17 +01:00 |
|
Martin
|
211a0a8b90
|
SynEdit: Textarea, TokenBreaker, add safety checks
|
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
|
3fda8a05e9
|
SynEdit: Rename some type-declaration to differentiate between text-point (logical/physical/viewed/...)
|
2025-02-06 21:42:23 +01:00 |
|