Commit Graph

64 Commits

Author SHA1 Message Date
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
ed45ec5224 SynEdit: partly implement handling of space followed by combining mark. Issue #41228 2024-11-24 18:15:23 +01:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03: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
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
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
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +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
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
mattias
0a7abce1cf synedit: fixed crash in comment
git-svn-id: trunk@64126 -
2020-11-12 11:43:08 +00:00
martin
8cd65222af SynEdit: Improve beautifier for comment extensions. Split the double usage of MaxIndent / add new flags for AlignOnce
IDE: Improve caption

git-svn-id: trunk@57632 -
2018-04-09 10:39:48 +00:00
juha
b2e65128ee Remove redundant "Assigned(X)" when checking "if X is Txxx". Issue #33030, patch from Vojtech Cihak.
git-svn-id: trunk@57099 -
2018-01-15 10:53:48 +00:00
juha
c3e1dc4ad5 Reduce compiler warnings, initialize some uninitialized variables.
git-svn-id: trunk@56869 -
2017-12-29 18:47:51 +00:00
juha
79436e5633 SynEdit: Remove SynRegExpr and use the identical RegExpr from FCL.
git-svn-id: trunk@53751 -
2016-12-21 22:35:05 +00:00
martin
a8782bed08 SynEdit: Fix for smart unindent. (if no shorter line is present above)
git-svn-id: trunk@48547 -
2015-03-30 22:57:32 +00:00
martin
a2ec42e01e SynEdit: Undo initializations, if value is either not needed or always set.
git-svn-id: trunk@48497 -
2015-03-24 23:13:33 +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
mattias
8d3d5b37b4 synedit: fixed compilation, bug #26371, from Reinier Olislagers
git-svn-id: trunk@45602 -
2014-06-22 09:07:32 +00:00
mattias
feb46c584b synedit: less hints
git-svn-id: trunk@43914 -
2014-02-06 09:33:13 +00:00
martin
461597b957 SynEdit: add 2 tab based indent modes to beautifier. Issue #0024557 / missing
git-svn-id: trunk@43863 -
2014-01-31 21:50:23 +00:00
martin
a22341fe53 SynEdit: add 2 tab based indent modes to beautifier. Issue #0024557
git-svn-id: trunk@43815 -
2014-01-26 17:16:44 +00:00
mattias
bef5514dd1 synedit: clean up
git-svn-id: trunk@40615 -
2013-03-21 23:10:14 +00:00
martin
38bf0149cf SynEdit: added string auto-continue mode
git-svn-id: trunk@40351 -
2013-02-19 03:07:43 +00:00
martin
812eac65ea SynEdit Beautifier allow access to CurrentLines
git-svn-id: trunk@40114 -
2013-02-01 20:01:34 +00:00
martin
c69c62ab78 SynEdit: PascalBeautifier, fixes for comment indent/prefix-continuation
git-svn-id: trunk@39604 -
2012-12-20 23:34:15 +00:00
martin
b00e519138 SynEdit: PascalBeautifier, fixes for comment indent/prefix-continuation
git-svn-id: trunk@39602 -
2012-12-20 20:29:17 +00:00
mattias
5971b78751 synedit: fixed compilation
git-svn-id: trunk@39596 -
2012-12-20 14:08:36 +00:00
martin
119fa1c078 SynEdit: PascalBeautifier, added code for comment indent/prefix-continuation
git-svn-id: trunk@39590 -
2012-12-20 09:24:42 +00:00
martin
400f05dee0 SynEdit: refactor painting
git-svn-id: trunk@34165 -
2011-12-14 02:53:19 +00:00
martin
583c6cf16d SynEdit: Fix all typecasts for TSynMemo; fix undoin TSynMemo
git-svn-id: trunk@32250 -
2011-09-10 11:32:06 +00:00
martin
d8612f83d4 SynEdit: Fixed a range check, probably introduced in 30074 / Also fixed wrong array len
git-svn-id: trunk@30191 -
2011-04-04 19:57:23 +00:00
martin
b1e958502a SynEdit: Fix indent after auto-unindent (smart) into half a tab
git-svn-id: trunk@28366 -
2010-11-20 12:08:14 +00:00
martin
776f474483 SynEdit: Fix smart unindent obeys read-only
git-svn-id: trunk@22686 -
2009-11-19 23:54:52 +00:00
martin
e706efaedb SynEdit: Fixed group undo for smart-unindent
git-svn-id: trunk@22581 -
2009-11-13 21:56:26 +00:00
mattias
2cd414bcbd IDE: enabled codetools auto indent by default
git-svn-id: trunk@22403 -
2009-11-03 13:10:56 +00:00
martin
65aa0e0875 SynEdit, IDE: Fixes and Refactor for SynBeautifier (includes updates for codetools auto-indent)
git-svn-id: trunk@22377 -
2009-11-02 01:36:04 +00:00
mattias
f35f9bc932 synedit: fixed typo
git-svn-id: trunk@22355 -
2009-10-31 11:35:26 +00:00
mattias
07649baa56 IDE: auto indent: debugging
git-svn-id: trunk@22114 -
2009-10-12 14:42:13 +00:00
mattias
482026e4c2 synedit: fixed typo
git-svn-id: trunk@22105 -
2009-10-12 11:30:57 +00:00
martin
50b14ade3c SynEdit: Prevent auto-unindent (on backspace) if a selection exists. Selection must be deleted instead.
git-svn-id: trunk@21681 -
2009-09-13 10:25:47 +00:00
martin
b08e9ca53c SynEdit: Fix for auto unindent (new indent detection did not skip empty lines)
git-svn-id: trunk@20724 -
2009-06-23 20:03:26 +00:00
martin
063dd74efc SynEdit, beautifier: fixed in indent, in cases where newline was inserted at pos 1
git-svn-id: trunk@20700 -
2009-06-22 01:43:25 +00:00
martin
95311a5cf3 SynEdit: fixed 2 compiler warnings
git-svn-id: trunk@20698 -
2009-06-21 19:34:38 +00:00
martin
f12004fd9b SynEdit, Beautifier: fixed indent issue with ecInsertLine (added indent to wrong line)
git-svn-id: trunk@20692 -
2009-06-21 14:11:00 +00:00
martin
db631b7877 SynEdit, removed a circular unit ref
git-svn-id: trunk@20682 -
2009-06-20 18:48:35 +00:00
martin
8208c9846d SynEdit, Beautifier: simplified event for external indent
git-svn-id: trunk@20674 -
2009-06-19 20:57:11 +00:00
martin
87e4fec446 SynEdit, Beautifier: Refactored, added better event for external indent
git-svn-id: trunk@20672 -
2009-06-19 15:13:17 +00:00