Commit Graph

261 Commits

Author SHA1 Message Date
mattias
e5c09ba479 codetools: rename source name references: keep omitted namespace 2025-02-04 15:40:25 +01:00
mattias
3276690fec codetools: ReplaceDottedIdentifier: delete atoms 2025-02-04 15:40:25 +01:00
mattias
a8004c0845 codetools: started Find- and RenameSourceNameReferences 2025-02-04 15:40:25 +01:00
mattias
e6c486a8e7 codetools: added ReadRawPascal 2025-01-29 16:08:05 +01:00
mattias
ab03974ccf codetools: fixed find used unit with ampersands 2025-01-01 13:36:17 +01:00
mattias
be497b7252 codetools: disabled wrong preflight check for unitnames 2024-12-31 14:29:21 +01:00
mattias
f4094028d4 codetools: clean up and simplified 2024-12-31 11:39:21 +01:00
mattias
43d02af738 codetool:s renamed DottedIdentifierMatchesTo to DottedIdentifierMatches 2024-12-31 10:59:25 +01:00
mattias
4cb5f5aa5a codetools: optimization and clean up 2024-12-31 10:38:19 +01:00
mattias
ab45877d37 codetools: removed unneeded IsIdentifierDotted 2024-12-29 16:50:39 +01:00
mattias
ec5dd4209d codetools: less hints 2024-12-29 16:50:38 +01:00
mattias
93b4f9f305 codetools: optimized IsValidDottedIdent 2024-12-29 16:50:38 +01:00
mattias
ed2a217e45 ide+codetools: list and rename dotted units and identifntifiers and amp identifiers, from WooBean007 2024-12-29 16:50:38 +01:00
Martin
75b9afdc92 Codetools: Prevent another range check error. Issue #40922 2024-09-23 13:28:08 +02:00
Martin
03bf02974e Codetools: Prevent another range check error. Issue #40922 2024-09-23 11:58:02 +02:00
Juha
65f647e25b Codetools: Prevent another range check error. Issue #40922, patch by WooBean007. 2024-09-15 07:26:21 +03:00
Juha
d58d978a0d Codetools: Prevent a range check error. Issue #40922, patch by WooBean007. 2024-09-09 23:38:17 +03:00
Juha
4bb14e680b Codetools: Support CTRL-SHIFT-C in front of &-identifier. Issue #40922, patch by WooBean007. 2024-09-07 10:24:41 +03:00
mattias
19ed17a7bc codetools: IsDottedIdent: added option to allow ampersands 2024-08-14 11:17:53 +02:00
mattias
75483dbcd5 codetools: CompareIdentifiersCaseSensitive: check ampersands 2024-08-05 17:46:29 +02:00
mattias
d1740179af codetools: CompareDottedIdentifiersCase: check ampersands 2024-08-05 17:21:05 +02:00
mattias
0004dffe30 codetools: CompareDottedIdentifiers: check ampersands 2024-08-05 17:03:15 +02:00
mattias
00f3d3b397 codetools: added tree of PCodeToolPos 2024-07-27 09:21:04 +02:00
Juha
35cea99f01 Codetools: Fix CompareDottedIdentifiersCaseSens. Patch by n7800. 2024-06-27 05:12:49 +03:00
Juha
5c616a0715 Fix hint etc. for "&" + identifier. Issue #40922, patch from WooBean007. 2024-06-17 18:39:44 +03:00
Juha
79a6aff5c9 Codetools: Prevent an eternal loop in procedure ImproveStringConstantEnd. 2024-03-07 04:46:10 +02:00
mattias
2770584c3a codetools: fixed IsDottedIdentifier 2024-02-20 18:19:37 +01:00
Juha
34342f269f Revert the Codetools support of dotted names commit (issue #40596). It broke unit tests. 2024-02-03 07:34:44 +02:00
Juha
593bf2d541 IDE,Codetools: Improve support of dotted unit names. Issue #40596, patch by WooBean007. 2024-01-31 11:27:54 +02:00
mattias
dacecb3f91 codetools: started test for namespaced units in fpc sources 2023-12-18 10:12:02 +01:00
mattias
0ac09485c6 codetools: ReadNextPascalAtom: delphi multi line string literal 2023-11-10 15:01:03 +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
mattias
d939016d4e codetools: TLinkScanner: search inc file in fpc cfg of current set 2023-06-09 16:51:10 +02:00
Juha
0991e39f7d Codetools: Fix renaming dotted unit names + many functions dealing with dotted indentifiers. Issue #40195, patch by CCRDude. 2023-05-16 20:11:54 +03:00
Juha
2a16d0338e Codetools: Improve renaming dotted unit names. Issue #40195. 2023-05-16 02:47:07 +03:00
Martin
042ddcfe20 Fix UnicodeSpacesToASCII, After "Replace()" p is already replaced. Old code could skip codepoints or iterate past end of string. Don't replace regular space #20 with itself (nop). 2022-12-02 00:58:42 +01:00
mattias
34b3b9a49a IDE: paste text in pascal source: convert unicode spaces to ascii spaces 2022-04-20 23:49:41 +02:00
mattias
e2ad6b3d8d codetools: parse multiline string constant 2022-03-14 16:38:07 +01:00
Juha
2fbce3f5e6 Codetools: Feed UpperKeyword param in PascalReaderTool.PropertyHasSpecifier with uppercase strings. 2022-01-12 17:08:40 +02: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
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
83b5ba73f2 Codetools: Comment out functions in BasicCodetools dealing with CreateForm. Methods in StdCodetools are used.
git-svn-id: trunk@63006 -
2020-04-17 09:32:13 +00:00
ondrej
b21a3831c1 CodeTools: ofall() code macro: keep & prefixes. Issue #35801
git-svn-id: trunk@62244 -
2019-11-15 21:38:13 +00:00
juha
2599738437 Codetools: Fix function FindNextIncludeDirective when an include file name is quoted.
git-svn-id: trunk@60675 -
2019-03-15 11:23:21 +00:00
mattias
967bf6dfd1 IDE: fix invalid localized package names
git-svn-id: trunk@57961 -
2018-05-18 21:34:39 +00:00
mattias
e1dcfde200 codetools: identifier completion: list pas2js default units
git-svn-id: trunk@57952 -
2018-05-18 07:31:39 +00:00
mattias
cab4029da6 codetools: fixed rangechecking
git-svn-id: trunk@57114 -
2018-01-18 21:23:38 +00:00
mattias
b8a4422c7f codetools: identifier completion fixed empy Prefix
git-svn-id: trunk@57038 -
2018-01-10 08:30:25 +00:00
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
mattias
a64605ceec codetools: fixed GetIdentStartEndAtPosition if pos behind source
git-svn-id: trunk@56197 -
2017-10-25 20:19:02 +00:00