Commit Graph

3130 Commits

Author SHA1 Message Date
Martin
43667d8c24 SynEdit: added Left/Right-Offset to Gutter-parts 2023-05-28 14:13:15 +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
mattias
7bc5b63fbb updated makefiles 2023-05-27 02:07:12 +02:00
JuhaManninen
dd362403a3 Support compiling on Win32 widgetset with -Sy option. 2023-05-21 08:39:30 +03:00
Martin
e3a4b57951 SynEdit: Pas-Highlighter, double-quotes, fix detecting quotes if they are the only char in a line. Issue from merge request !120 2023-05-19 15:02:24 +02:00
rich2014
a2ec18bfe4 LCL/SynEdit: ADD: MacOS IME fully supported 2023-05-03 21:31:25 +08:00
Ondrej Pokorny
24a4654188 SynEdit: CopyToClipboard: MSDEVColumnSelect needs some arbitrary data to be passed with it, otherwise it is ignored 2023-04-25 18:23:56 +02: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
e3bdf4e62e SynEdit: Pas Highlighter, improved several function modifier. Only highlight if they are after a function declaration/header. 2023-03-09 14:09:37 +01:00
Martin
581df6e791 SynEdit: Pas Highlighter, improved "alias: 'abc'" and "public name 'abc'" function modifier. Allow more modifiers afterwards. 2023-03-09 14:09:37 +01:00
Martin
31d30d3fcf SynEdit: Pas Highlighter, improved "stored" for property 2023-03-09 14:09:37 +01:00
Martin
b8a9088638 SynEdit: Pas Highlighter, improved DispInterface, DispId, ReadOnly 2023-03-09 14:09:36 +01:00
Martin
3c70c9ed4d SynEdit: Pas Highlighter, only highlight "Objc..." keywords in MacPas mode (or if mode is not yet set) 2023-03-09 14:09:36 +01:00
Martin
ef093fa2b7 SynEdit: Pas Highlighter, fix "readonly" in property. Issue #39979 2023-03-09 00:22:44 +01:00
Martin
00bd7c0598 SynEdit: Pas Highlighter, fix param modifier (const/var/...) for "operator". Issue #40147 Also fixed flags, for "class operator" in records. 2023-03-08 23:47:28 +01:00
Martin
2370514713 SynEdit: Pas Highlighter, add keywords for MacPas objcprotocol. Issue #39910 2023-03-08 23:20:08 +01:00
Martin
a8c5822dde SynEdit: Pas Highlighter, add keywords for MacPas objcprotocol 2023-03-08 22:45:47 +01:00
Martin
74adbc30c7 SynEdit: missing ecKeyCmd to string - fix recording in macro player 2023-03-05 17:24:52 +01:00
Martin
aa1f0f6ff6 SynEdit: Fix adjusting multi-carets in smColumn mode. Part of issue #39998 2023-03-05 14:46:38 +01:00
Martin
bb62b8f64d SynEdit: Fix tab-indent of line-mode-selection (last line was ignored, if caret.y=1). Part of issue #39998 2023-03-05 14:10:43 +01:00
Martin
25b0fa69b2 SynEdit: Fixed reordering gutter parts. Apply new bounds. 2023-02-20 19:39:30 +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
Ondrej Pokorny
663123ff29 SynEdit: make FindMatchingBracketPair virtual 2023-01-04 10:25:09 +01:00
Martin
cfdb6d2299 SynEdit: fix range check in WrappedView 2022-12-02 00:58:42 +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
mattias
6671244b72 updated makefiles, fixed compile fpdebug with fpc 3.2.2 2022-11-13 13:23:46 +01:00
mattias
ef6ce79e07 synedit: ssMeta on darwin instead of only carbon 2022-10-28 07:52:26 +02:00
Olly
db81590f90 synhighlighterpas: support multiline double quoted strings 2022-08-14 12:06:24 +02:00
Martin
1df670703a SynEdit: Fix test-case 2022-06-25 23:28:27 +02:00
Martin
339ede7382 SynEdit: fix save/load fold-state. 2022-06-25 22:16:19 +02:00
Martin
45549ca90d SynEdit: PasHighLighter, fix function-name highlight - broken in 592b2240a9 "fix function modifiers (e.g. cdecl)". Issue #39807 2022-06-24 23:44:46 +02:00
Martin
592b2240a9 SynEdit: PasHighLighter, fix function modifiers (e.g. cdecl). Only highlight after a function/procedure. Issue #39807 2022-06-24 03:17:09 +02:00
mattias
9e762cde89 udpated makefiles 2022-05-29 19:34:19 +02:00
Martin
69682be8b0 SynEdit: fix more PasHighLighter for "default" modifier after property. (fix false matches). Issue #39726 2022-05-04 21:14:06 +02:00
Martin
db98b76076 SynEdit: fix PasHighLighter for "default" modifier after property. (fix false matches). Issue #39726 2022-05-02 17:44:27 +02:00
Martin
5b23421c5d SynEdit: fixed incorrect line-invalidation / repaint when scrolling (with folded text) 2022-04-05 10:57:15 +02:00
Martin
6efbdffc8d SynEdit: Fix color calculation 2022-04-01 15:02:48 +02:00
Martin
398de0f4b4 SynEdit: Internal caret (multi caret / custom-color caret) keep visible while scrolling. 2022-04-01 15:02:47 +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
mattias
0e52400af8 synedit: readme 2022-04-01 11:04:38 +02:00
Juha Manninen
0cec6db9e6 Merge branch 'noinline-noreturn' into 'main'
Updated supported procedure modifiers: noinline, noreturn

See merge request freepascal.org/lazarus/lazarus!72
2022-02-24 12:43:06 +00:00
mattias
26c9421318 updated Makefiles 2022-02-24 12:55:45 +01:00
Sergey Larin
abf2576e8d Updated supported procedure modifiers: noinline, noreturn 2022-02-19 13:16:20 +03:00
mattias
f97a493801 updated makefiles 2022-01-16 21:42:24 +01:00
Maxim Ganetsky
c7f37b1da7 SynEdit: cleaned up unused resource strings and constants of highlighters which are not shipped with Lazarus (issue #36043), regenerated translations 2022-01-10 01:34:10 +03:00
mattias
384eda71d8 synedit: simplified register, made syneditdsgn designtime 2022-01-06 12:44:10 +01:00
Martin
7c60c7ce47 SynCompletion: Add OnBeforeComplete event. Issue #30965 and Merge-request !53 2021-12-29 14:48:59 +01:00
Martin
0e94a6b1db SynCompletion: Ensure Position is in range. 2021-12-29 14:47:40 +01:00
Maxim Ganetsky
738e48c6b7 Translations: French translation update by Gilles Vasseur, issue #39487 2021-11-26 03:47:29 +03:00
mattias
0354b47bc4 updated makefiles 2021-10-18 14:32:30 +02:00
Juha
7ca9ba2fb6 Support more calling conventions. Issue #39405, patch by Pavel. 2021-10-04 11:10:27 +03:00
Martin
8bb1162ac2 SynEdit, test: add build modes, add run as console app, comment out some test failures, reduce some long tests 2021-10-01 14:31:52 +02:00
Martin
031eb66656 SynEdit: Highlighter, make sure to call SendHighlightChanged (even if lines where deleted, instead of scanned / HL still changed back to valid/"no scan needed") 2021-09-28 00:07:54 +02:00
Juha
ce6715ed78 Correct spelling errors for "Width" in various units. Issue #39402, patch by Don Siders. 2021-09-26 21:40:16 +03:00
Martin
9cf535759e SynEdit: Linenumber gutter, "Every Nth Line" must be 1 or greater. Issue #39394 2021-09-24 22:00:25 +02:00
maxim
0711ae584c Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #39152
git-svn-id: trunk@65372 -
2021-07-04 21:55:24 +00:00
mattias
91763f2247 set trunk version to 2.3.0
git-svn-id: trunk@65242 -
2021-06-15 14:00:39 +00: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
juha
d9c207b72b Corrections for spelling errors in LCL and Components. Issue #38986, patch by Don Siders.
git-svn-id: trunk@65216 -
2021-06-11 07:11:44 +00:00
maxim
c1a767e4ce SynEdit: fixed typos related to 'occur' word
git-svn-id: trunk@65201 -
2021-06-10 22:13:34 +00:00
maxim
d7c9b8c1e4 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #38974
git-svn-id: trunk@65188 -
2021-06-08 21:45:25 +00:00
martin
2805487c5a SynEdit: WinIME (workaround), make sure the emoji candidate window is shown at the caret.
git-svn-id: trunk@65180 -
2021-06-06 12:53:10 +00:00
martin
874e292825 SynEdit: WinIME, fix coordinates for candidates
git-svn-id: trunk@65178 -
2021-06-06 01:48:07 +00:00
martin
f57d444718 SynEdit: Win-IME, ifdef debugln
git-svn-id: trunk@65177 -
2021-06-05 22:33:57 +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
maxim
44cf6253c1 SynEdit: updated Russian translation
git-svn-id: trunk@65039 -
2021-04-20 22:14:12 +00:00
martin
7a676cf380 SynEdit: improve naming in advanced mouse opts
git-svn-id: trunk@65030 -
2021-04-20 18:57:02 +00:00
martin
98442b5353 SynEdit: improve naming in advanced mouse opts
git-svn-id: trunk@65029 -
2021-04-20 18:56:58 +00:00
martin
0340add854 SynEdit: partly fix unfolding lines with mixed collapse and expand info
git-svn-id: trunk@65027 -
2021-04-20 13:55:52 +00:00
martin
a2f76da804 SynEdit: workaround for issue #38766 / fpc generates bad code on aach64
git-svn-id: trunk@65024 -
2021-04-19 18:05:15 +00:00
martin
da9b3f55f6 Syn Test, fix compile
git-svn-id: trunk@64828 -
2021-03-16 20:40:26 +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
0de591ed36 SynEdit: Tests for keep caret x
git-svn-id: trunk@64826 -
2021-03-16 16:05:36 +00:00
martin
9c4e45f598 SynEdit: Fix uninitialized var for "keep caret X"
git-svn-id: trunk@64825 -
2021-03-16 16:03:20 +00:00
juha
9046b533af LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
git-svn-id: trunk@64743 -
2021-03-04 08:58:54 +00:00
juha
bb79fd08da SynEdit: Revert one more change. BasedMix can be empty.
git-svn-id: trunk@64739 -
2021-03-03 14:45:34 +00:00
juha
dfb8608d9a SynEdit: Restore Copy() calls. SetLength() may make a string longer with garbage in the end.
git-svn-id: trunk@64730 -
2021-03-03 10:21:52 +00:00
mattias
3386007fe0 synedit: fixed compile
git-svn-id: trunk@64722 -
2021-03-02 13:52:59 +00:00
ondrej
64d6ca58a7 SynEdit: improve StartsStr optimization from r64527 #077ebbe494 (do not convert PChar to string)
git-svn-id: trunk@64721 -
2021-03-02 12:41:42 +00:00
wp
0b71099783 Components: Add copyright notes to all folders to which Roland Hahn has contributed images.
git-svn-id: trunk@64663 -
2021-02-24 22:17:51 +00:00
martin
be8da43baa SynEdit: Update Firebird 4.0 highlighter. Issue #0038520 Patch by Gabor Boros
git-svn-id: trunk@64652 -
2021-02-22 18:54:04 +00:00
juha
d01c4c6496 SynEdit: Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64645 -
2021-02-21 15:34:09 +00:00
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