Commit Graph

3044 Commits

Author SHA1 Message Date
juha
b2aa58981c SynEdit: Cleanup.
git-svn-id: trunk@64628 -
2021-02-20 20:40:46 +00:00
juha
a523ee94b3 SynEdit: Optimize parsing CompletionList. Use faster string comparison.
git-svn-id: trunk@64626 -
2021-02-20 13:14:27 +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
mattias
62c37ad72a updated Makefiles
git-svn-id: trunk@64567 -
2021-02-13 13:01:14 +00:00
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
b53ad7ceed Components: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64506 -
2021-02-08 19:09:30 +00:00
martin
5fe23e9ae8 SynEdit: fix ScreenRowToRow for markup highlight all
git-svn-id: trunk@64502 -
2021-02-08 18:48:00 +00:00
juha
8c200ad2ca SynEdit Test: Fix compilation with FPC 3.2 stricter type checking.
git-svn-id: trunk@64499 -
2021-02-05 20:16:13 +00:00
juha
4733d3b7a1 Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64498 -
2021-02-05 20:07:12 +00:00
ondrej
6079f10973 SynEdit test suite: fix compilation for latest SynEdit changes
git-svn-id: trunk@64497 -
2021-02-05 15:48:25 +00:00
ondrej
d7e459768f SynEdit: fix r64487 #583d01104a causing AV
git-svn-id: trunk@64495 -
2021-02-05 15:16:18 +00:00
ondrej
1a8aa04e61 SynBeautifierPascal: fix file name case
git-svn-id: trunk@64493 -
2021-02-05 14:28:28 +00:00
ondrej
998abc9121 SynEdit: move implementation uses to interface
git-svn-id: trunk@64492 -
2021-02-05 14:22:50 +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
31541c7ab1 SynEditDsgn: fix compilation
git-svn-id: trunk@64490 -
2021-02-05 14:16:10 +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
2c18181316 SynEdit: remove circular dependency between SynEdit and SynGutter
git-svn-id: trunk@64485 -
2021-02-05 13:30:02 +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
608ef7b4c6 SynEdit: remove circular dependency between SynEdit and SynEditMarkupIfDef
git-svn-id: trunk@64482 -
2021-02-05 13:24:59 +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
cfa3bf0135 synedit.lpk: new package file format
git-svn-id: trunk@64472 -
2021-02-05 11:42:48 +00:00
ondrej
5bbc3f9c75 SynEdit: move TSynBeautifierPascal to a new unit SynBeautifierPascal to remove circular dependency on SynEdit
git-svn-id: trunk@64471 -
2021-02-05 11:40:36 +00:00
juha
6a07271f31 Pas2js, SynEdit, TAChart, IPro: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64463 -
2021-02-05 11:28:05 +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
juha
20c5ac47c0 IDE: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64440 -
2021-01-29 19:59:04 +00:00
martin
299edb5334 SynEdit: Introduce LineGutter.OnFormatLineNumber - Issue #38370
git-svn-id: trunk@64426 -
2021-01-27 16:07:58 +00:00
martin
724aa84cf3 SynEdit: Introduce LineGutter.OnFormatLineNumber - Issue #38370
git-svn-id: trunk@64425 -
2021-01-27 13:16:26 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
1e43ac6865 IDE: Study EditorOptions assignments with debug code. Turn methods into global funcs. Refactoring.
git-svn-id: trunk@64328 -
2021-01-04 15:56:28 +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
martin
06ee066470 SynEdit: Fixed the stored property for TSynHighlighterAttributes.<....>Priority
git-svn-id: trunk@64245 -
2020-12-20 09:03:39 +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
mattias
0a7abce1cf synedit: fixed crash in comment
git-svn-id: trunk@64126 -
2020-11-12 11:43:08 +00:00
juha
6b4b3e9eb4 Synedit: Minor code cleanup. Issue #38035, patch from Cyrax.
git-svn-id: trunk@64111 -
2020-11-06 10:42:03 +00:00
pascal
54029095cc SynEdit: add notification of line add
git-svn-id: trunk@64109 -
2020-11-06 08:06:29 +00:00
martin
a8297cc43b SynEdit: Add stdcall
git-svn-id: trunk@63985 -
2020-10-09 15:17:25 +00:00
martin
410dd26d95 SynEdit: More Ligatures on Windows, {$DEFINE WINDOWS_LIGATURE}
git-svn-id: trunk@63963 -
2020-10-06 11:24:51 +00:00
martin
c49c00a477 SynEdit: Ligatures on Windows, {$DEFINE WINDOWS_LIGATURE}
git-svn-id: trunk@63951 -
2020-10-04 16:00:38 +00:00
maxim
e6ebfd4578 SynEdit: moved SynMacroRecorder resource strings to syneditstrconst.pp, merged translations accordingly
git-svn-id: trunk@63915 -
2020-09-23 23:01:02 +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
c82e723e1a SynEdit: allow "Modified:=False" inside BeginUpdate
git-svn-id: trunk@63838 -
2020-08-26 22:24:11 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +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
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
4c43d00d8f SynEdit: Update Half/Full-Width chars. Issue #0037548
git-svn-id: trunk@63747 -
2020-08-15 16:07:59 +00:00
martin
3615ce369e SynEdit: Wrap, fix out of range access
git-svn-id: trunk@63664 -
2020-07-28 16:14:39 +00:00
martin
bae51ffd23 SynEdit: Fixes for MaybeJoinWithSibling and AdjustForLinesDeleted / Tests for MaybeJoinWithSibling
git-svn-id: trunk@63663 -
2020-07-28 16:14:37 +00:00
martin
99c2707621 SynEdit: Wrap-test, added tree consistency checks
git-svn-id: trunk@63662 -
2020-07-28 16:14:35 +00:00
martin
9de9851213 SynEdit: wrap, refactor GetLineForForWrap into NodeHolder
git-svn-id: trunk@63661 -
2020-07-28 16:14:34 +00:00
martin
4649c9029a SynEdit: remove FoldInfo.FNode
git-svn-id: trunk@63660 -
2020-07-28 16:14:32 +00:00
martin
5a094e4bec SynEdit: Avltree, fix RootOffset
git-svn-id: trunk@63659 -
2020-07-28 16:14:30 +00:00
martin
ebe42a29a7 SynEdit: avl, fixed SumBefore for tree.last
git-svn-id: trunk@63581 -
2020-07-17 01:02:22 +00:00
martin
921faf61dd SynEdit: removed incorrect comment (about 1 based)
git-svn-id: trunk@63580 -
2020-07-17 01:02:21 +00:00
martin
6419d6aec1 SynEdit: Tests for Wrap
git-svn-id: trunk@63579 -
2020-07-17 01:02:19 +00:00
martin
ca99f92921 SynEdit, test: change debug info to DWARF-3
git-svn-id: trunk@63578 -
2020-07-17 01:02:17 +00:00
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
mattias
8ceb09a67b make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
2020-07-13 09:00:41 +00:00
pascal
b8d03d0e29 SynEdit: prevent bad index. Issue #37325
git-svn-id: trunk@63550 -
2020-07-13 05:56:14 +00:00
martin
c63e4ba86a SynEdit,IDE: Move Highlight-Style-Priority setting to base attribute. Now Highlighter colors have a priority, so some colors (e.g. String, Comment) can hide some Markup colors.
git-svn-id: trunk@63540 -
2020-07-10 19:38:45 +00:00
martin
36ca9bf226 SynEdit: WrappedView LineMap: fix SetHighlighterTokensLine (nil check)
git-svn-id: trunk@63539 -
2020-07-09 14:28:12 +00:00
martin
ec7c4a64a3 SynEdit: WrappedView, fix merging nodes
git-svn-id: trunk@63538 -
2020-07-09 14:28:10 +00:00
martin
fa075e2a66 SynEdit: Fix calculation of "Viewed" block boundaries.
git-svn-id: trunk@63527 -
2020-07-07 14:13:07 +00:00
ondrej
18d396dfc3 SynEdit: fix wrong type cast (e.g. TSynMemo does not inherit from TSynEdit)
git-svn-id: trunk@63487 -
2020-07-02 08:24:57 +00:00
maxim
8a7112535d Translations: Chinese translation update by robsean, bug #37290
git-svn-id: trunk@63485 -
2020-07-01 21:39:48 +00:00
mattias
9dcd9ee04d updated makefiles
git-svn-id: trunk@63453 -
2020-06-28 11:01:41 +00:00
martin
9afc716aa9 SynEdit: Add check for nil / Improve comments
git-svn-id: trunk@63450 -
2020-06-27 19:24:01 +00:00
martin
8fb8e98b28 SynEdit: LineMap, update all views, after new DisplayView
git-svn-id: trunk@63449 -
2020-06-27 19:23:59 +00:00
martin
e6d5ca1609 SynEdit: foldgutter, safety net for popup menu entry count
git-svn-id: trunk@63448 -
2020-06-27 19:23:57 +00:00
martin
7aa4a1ccfc SynEdit: fix avl for create-root-node returns nil
git-svn-id: trunk@63447 -
2020-06-27 19:23:55 +00:00
martin
821b66e4c2 SynEdit: more replacements of folded view
git-svn-id: trunk@63446 -
2020-06-27 19:23:54 +00:00
pascal
92603c9cce SynEdit: fixed cast
git-svn-id: trunk@63439 -
2020-06-26 17:41:48 +00:00
martin
d0584cb910 SynEdit: remove more FFoldedLinesView references. Move access to selection.
git-svn-id: trunk@63434 -
2020-06-23 19:43:14 +00:00
martin
057165384d SynEdit: move key handling to folded view. (except: ecFold... constants)
git-svn-id: trunk@63433 -
2020-06-23 19:43:13 +00:00
martin
8af680d14f SynEdit: remove more FFoldedLinesView references.
git-svn-id: trunk@63432 -
2020-06-23 19:43:11 +00:00
martin
e51e371c7c SynEdit: fix "Improve FindNextUnfoldedLine" (r63414) for hidden lines as very start of file.
git-svn-id: trunk@63431 -
2020-06-23 19:43:09 +00:00
martin
6b88883112 SynEdit: Cleanup calls to Fold.(Un)Lock - they are done in Inc/DecPaintlock
git-svn-id: trunk@63421 -
2020-06-22 19:04:43 +00:00
martin
b0e6dc49cf SynEdit: Move FoldedAtTextIndex from folded view to TSynEditStrings.IsTextIdxVisible / Improve FindNextUnfoldedLine
git-svn-id: trunk@63414 -
2020-06-21 02:27:02 +00:00
martin
2b2844292f SynEdit: Small optimization for screen line calculation (during invalidate)
git-svn-id: trunk@63413 -
2020-06-21 02:27:00 +00:00
martin
550339bdde SynEdit: Ensure the correct lines are invalidated when scrolling is involved
git-svn-id: trunk@63412 -
2020-06-21 02:26:59 +00:00
martin
9c5367d8b7 SynEdit: clean up - unused unit / units for implementation only
git-svn-id: trunk@63411 -
2020-06-21 02:26:57 +00:00