Commit Graph

43 Commits

Author SHA1 Message Date
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
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
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +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
martin
8f520dbc50 SynEdit: Code-Templates, fix AddTemplate. Must parse first, or added tmpl will be overwritten when parse is done
git-svn-id: trunk@62273 -
2019-11-18 22:43:06 +00:00
juha
4c7dc1b89b Use Delete() instead of Copy() where appropriate.
git-svn-id: trunk@55311 -
2017-06-10 16:30:27 +00:00
martin
845d3c0084 SynEdit, IDE: Fix phys/logic char pos in autocomplete. Issue #0026038
git-svn-id: trunk@44755 -
2014-04-17 22:25:13 +00:00
martin
ba3925a8de SynCompletion: Ensure caret pos
git-svn-id: trunk@38655 -
2012-09-14 12:32:27 +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
cb3b57701c SynEdit: refactor, make TSynEditAutoComplete based on plugin
git-svn-id: trunk@35956 -
2012-03-13 23:46:25 +00:00
mattias
0c5326bb2f synedit: fixed uninitialized
git-svn-id: trunk@35922 -
2012-03-13 10:34:49 +00:00
martin
7a39358a8c Synedit: Codetemplate fix for tabs. Issue #0020700
git-svn-id: trunk@33589 -
2011-11-17 15:01:41 +00:00
martin
5405c8d1f0 Synedit: Cleanup Codetemplate code
git-svn-id: trunk@33587 -
2011-11-17 14:54:35 +00:00
mattias
e2a2b1c57f IDE: code templates: auto indent and option to disable it for each template, bug #17632
git-svn-id: trunk@28876 -
2011-01-06 17:14:35 +00:00
martin
2fb10a5a62 SynEdit: Remove references from old objects, when releasing
git-svn-id: trunk@24152 -
2010-03-21 18:04:17 +00:00
mattias
daa0f22d74 synedit: fixed mem leak in auto completions
git-svn-id: trunk@12089 -
2007-09-20 13:43:01 +00:00
mattias
4ec6450897 IDE: implemented attributes for code templates
git-svn-id: trunk@11997 -
2007-09-11 17:38:17 +00:00
mattias
2f2c92352b code templates: fixed reading new lines at start of template
git-svn-id: trunk@9259 -
2006-05-12 08:27:08 +00:00
mattias
b2da0049cf added IDE overload for inserting code templates, needed for code macros
git-svn-id: trunk@8063 -
2005-11-05 11:46:16 +00:00
mattias
bec6005a12 started codetemplate makros and project source directories
git-svn-id: trunk@8044 -
2005-11-02 23:09:33 +00:00
mattias
72e97eced6 disabled inline, added TTISpinEdit, added history skill to TTIComboBox
git-svn-id: trunk@8018 -
2005-10-31 19:17:48 +00:00
mazen
366fa1a99e - utf8bidi is not used here
git-svn-id: trunk@5909 -
2004-09-02 14:08:15 +00:00
mattias
725ee3133d improved double byte char fonts for gtk1, started synedit UTF8 support
git-svn-id: trunk@5906 -
2004-09-02 09:17:00 +00:00
mattias
4cb794d4d7 added OnUTF8KeyPresss
git-svn-id: trunk@5895 -
2004-08-30 16:37:58 +00:00
mazen
c4db8f2797 + TCharater type used to allow UTF8 keyboard with gtk2
git-svn-id: trunk@5781 -
2004-08-13 16:40:47 +00:00
mattias
a5ded8dcb0 fixed range check error for TCustomSynAutoComplete.ExecuteCompletion in empty lines
git-svn-id: trunk@5738 -
2004-08-04 16:41:07 +00:00
mattias
5e5c1122a7 renamed LCLLinux to LCLIntf
git-svn-id: trunk@4637 -
2003-09-18 09:21:03 +00:00
mattias
eb74c0b02d fixed invalid typecast
git-svn-id: trunk@3732 -
2002-12-24 13:05:08 +00:00
lazarus
ad90cde830 MG: fixed cursor visibility after code template completion
git-svn-id: trunk@1693 -
2002-05-17 05:42:47 +00:00
lazarus
9b66e0abc7 MG: small fixes, cleanups and started event assignment completion
git-svn-id: trunk@1600 -
2002-04-11 08:08:50 +00:00
lazarus
f85924125e MG: fixes, code creation policies, keymap categories, menu shortcuts
git-svn-id: trunk@1465 -
2002-02-28 12:09:10 +00:00
lazarus
63e0c71c47 MG: fixed completion box for templates and identifiers
git-svn-id: trunk@1453 -
2002-02-22 14:25:02 +00:00
lazarus
c9e180acac TPanel implemented.
Basic graphic primitives split into GraphType package, so that we can
reference it from interface (GTK, Win32) units.
New Frame3d canvas method that uses native (themed) drawing (GTK only).
New overloaded Canvas.TextRect method.
LCLLinux and Graphics was split, so a bunch of files had to be modified.

git-svn-id: trunk@653 -
2002-02-03 00:24:02 +00:00
lazarus
91202a8b01 MG: reduced output
git-svn-id: trunk@596 -
2002-01-14 19:17:27 +00:00
lazarus
0b8e9b01d6 MG: setwindowpos + bugfixes
git-svn-id: trunk@240 -
2001-03-26 14:58:32 +00:00
lazarus
4abca0516d MG: added dynhasharray and renamed tsynautocompletion
git-svn-id: trunk@230 -
2001-03-19 18:51:57 +00:00
lazarus
041250d1cf Changes for wordcompletion and many other things from Mattias.
Shane

git-svn-id: trunk@186 -
2001-02-20 16:53:27 +00:00
lazarus
b63fd4b108 Started the code completion.
Shane

git-svn-id: trunk@162 -
2001-02-01 16:45:20 +00:00
lazarus
f74fc3c637 Commitng source with new editor.
Shane

git-svn-id: trunk@155 -
2001-01-31 13:03:33 +00:00
lazarus
da5aa5f57d Added the synedit files
Shane

git-svn-id: trunk@140 -
2001-01-26 19:34:10 +00:00