Commit Graph

24585 Commits

Author SHA1 Message Date
Martin
649f6ccbc8 SynEdit: WrappedView, Caret, fixed leftmost position with indent 2025-02-16 22:52:43 +01:00
Martin
3bf2791292 SynEdit: WrappedView, Caret, fixed position for fullwidth chars 2025-02-16 22:48:14 +01:00
Martin
5b080436ce SynEdit: WrappedView, caret calculations for RTL/LTR text 2025-02-16 21:30:50 +01:00
Martin
43b194714e SynEdit: WrappedView, add some MarkupColors 2025-02-16 20:56:43 +01:00
Martin
5a2dab70e4 SynEdit: WrappedView, add indent for wrapped lines 2025-02-16 20:56:43 +01:00
Martin
b96f00e77f SynEdit: add ETO_RTLREADING to tokendrawer, required if wrapped text starts with weak RTL char 2025-02-16 20:56:43 +01:00
Juha
4f6cf9605a ToDoList: Improve include file handling. Part of issue #41421. 2025-02-16 11:31:43 +02:00
Juha
42eb6a4a4d ToDoList: Process each include file only once. Issue #41421. 2025-02-16 01:34:27 +02:00
mattias
bad8e07ea8 ide: rename identfier for file: using RenameUnit keeping source editor, renaming lfm 2025-02-14 15:31:17 +01:00
Maxim Ganetsky
3a2b56bb2c OpkMan: regenerated translations and updated Russian translation 2025-02-14 17:02:36 +03:00
Maxim Ganetsky
e033d4be7f OpkMan: made translations not depend on exact internet link names 2025-02-14 17:02:02 +03:00
mattias
fb03756b41 replaced url http://wiki.freepascal.org with https 2025-02-13 08:49:48 +01:00
dsiders
f91b117ccd Docs: LazControls/listviewfilteredit. Adds missing description for the TListViewFilterEdit.MatchesFilter.AData parameter. 2025-02-12 13:07:34 -05:00
dsiders
c060b1d1dc Docs: DateTimeCtrls/datetimepicker. Adds missing short description in the TCustomDateTimePicker.CalendarForm topic. 2025-02-12 12:32:36 -05:00
mattias
73db35fc82 ide: find/rename identifier: fixed error hint on keywords 2025-02-12 16:46:09 +01:00
mattias
0c7a9dfcb9 codetools: test GatherIdentifiers for dotted uses and program 2025-02-12 12:41:24 +01:00
mattias
9deafd1e43 codetools: find declaration of middle identifiers of dotted program name now jumps to the middle 2025-02-12 11:22:28 +01:00
mattias
f9ebfa5eac opengl: less hints 2025-02-11 20:44:42 +01:00
mattias
fd115f2c71 codetools: fixed FindSourceNameReferences to check also source name 2025-02-11 16:50:12 +01:00
mattias
8726dd48e7 ide: find/rename identifier: allow conflict and check if FNode is valid 2025-02-11 16:17:22 +01:00
mattias
79707cbc54 codetools: find declaration of middle namespace 2025-02-11 14:15:14 +01:00
Hendi
9dbc1dbe1e ProjectGroups: Fix lazbuild path macro 2025-02-10 15:59:07 +00:00
mattias
666f72b7f0 codetools: clean up 2025-02-10 16:07:30 +01:00
mattias
87d27af233 ide: save file as: check for pascal keyword in unit name and suggest retry or ampersand 2025-02-10 16:04:05 +01:00
Maxim Ganetsky
15ab3afbc6 LazReport, AddFunction addon: don't randomly change compiler directives in frFuncNum.pas, issue #41418.
Align directive affects records, which are not used in this unit.
Also there is no apparent need to explicitly disable range checking,
coprocessor emulation and complete boolean evaluation.
2025-02-10 17:46:33 +03:00
mattias
995c81f4d0 codetools: added IdentifierHasKeywords 2025-02-10 15:31:48 +01:00
mattias
b042ec4560 codetools: RenameSourceNameReferences: apply ascending 2025-02-10 14:43:48 +01:00
Martin
6552d52af2 SynEdit: remove incorrect assert from 211a0a8b90, need to return empty token if skipping off-screen exceeds next markup - only then new next markup can be calculated. 2025-02-10 10:30:17 +01:00
Martin
b1ba753964 SynEdit: remove incorrect assert from 211a0a8b90, need to return empty token if skipping off-screen exceeds next markup - only then new next markup can be calculated. 2025-02-09 23:11:11 +01:00
Martin
3d01335568 SynEdit: Fix detecting combining after white-space (tab). Amend fix from commit ed45ec5224 See Issue #41228 2025-02-09 23:11:11 +01:00
Martin
696cf7c7b5 SynEdit: fixed "DX" (ETO) values for visualized tabs. An extra value was inserted, shifting subsequent values by one (noticeable when "full-width" chars were on the same line) 2025-02-09 23:11:11 +01:00
Martin
c29347cfc7 SynEdit: Show fold indicator on last wrapped line. 2025-02-09 16:20:17 +01:00
Martin
269f304c2c SynEdit: Fix fold gutter for wrapped line with +/- fold indicator. 2025-02-09 16:20:17 +01:00
Martin
211a0a8b90 SynEdit: Textarea, TokenBreaker, add safety checks 2025-02-09 16:20:17 +01:00
Martin
137485b0ab SynEdit: DisplayView, add token origin/kind indicator 2025-02-09 16:20:17 +01:00
wp_xyz
986cea52b7 TAChart: Minor change in financial demo project. 2025-02-09 15:59:26 +01:00
mattias
e49854f895 codetools: RenameSource now also updates references in the unit, ide: SaveAs uses FindRenameSourceReferences 2025-02-07 11:26:36 +01:00
mattias
985bbdbf7f ide: find/rename identifier use for source name the new codetools methods 2025-02-07 10:07:55 +01:00
Martin
6c2cd439b7 SynEdit: DisplayView, return PhysXPos of first token, paint wrapped sub-lines with correct Phys-X (not Viewed-X) for Markup 2025-02-06 21:42:23 +01:00
Martin
3fda8a05e9 SynEdit: Rename some type-declaration to differentiate between text-point (logical/physical/viewed/...) 2025-02-06 21:42:23 +01:00
mattias
efe7efbc39 codetools: search dotted unitnames in namespaces 2025-02-06 11:23:30 +01:00
mattias
287832a0e8 codetools: FindSourceNameReferences: elimnate duplicates 2025-02-06 10:24:42 +01:00
mattias
ea7e84988d codetools: test rename program name tora.tora.tora 2025-02-05 17:01:32 +01:00
mattias
7dbb6355e5 codetools: fixed FindSourceNameReferences searching longest fitting unitname 2025-02-04 19:21:26 +01:00
mattias
116b91b184 codetools: directorycache: invalidate directory when a codebuffer is marked deleted 2025-02-04 16:45:03 +01:00
mattias
de11537070 codetools: rename used unit references: update in-filename 2025-02-04 15:40:25 +01:00
mattias
e5c09ba479 codetools: rename source name references: keep omitted namespace 2025-02-04 15:40:25 +01:00
mattias
370938ca90 codetools: find sourcename refs to used unit 2025-02-04 15:40:25 +01:00
mattias
3276690fec codetools: ReplaceDottedIdentifier: delete atoms 2025-02-04 15:40:25 +01:00
mattias
cdeeb79cc7 codetools: clean up and fixed resolving dotted.src.name.identifier 2025-02-04 15:40:25 +01:00
mattias
a8004c0845 codetools: started Find- and RenameSourceNameReferences 2025-02-04 15:40:25 +01:00
wp_xyz
1014cd330f LazUtils: Fix calculation error in function PolyBezierArcPoints (unit GraphMath). Issue #41400. Fix typos in comments. 2025-02-03 12:08:57 +01:00
wp_xyz
1dcfd1a774 LazUtils: Fix calculation error in function LineEndPoint (unit GraphMath). Issue #41400. 2025-02-03 10:30:08 +01:00
wp_xyz
4e939b31dd Replace locally implement operator overload for method comparison by already available SameMethod. Proposed by n7800 in MR !431 2025-02-02 12:09:48 +01:00
Maxim Ganetsky
f5a6c63885 LazReport: small cleanup in lrFclPDFExport addon 2025-02-01 22:54:29 +03:00
Maxim Ganetsky
3da776592f LazReport: Improve setting document properties when exporting document using lrFclPDFExport addon. Patch by paweld, issue #41392. 2025-02-01 22:53:16 +03:00
Juha
28ba5306c3 LCL: Add a new function SelectInFolder in LclIntf. Use it in source editor's StatusBar. 2025-02-01 18:28:44 +02:00
n7800
170c75784c LazUtils/TryCreateRelativePath: Improved checking for double period (indicating parent folder) in paths 2025-01-31 18:37:07 +00:00
Juha
fddb4de9bc IdeIntf: Remove deprecated functions from IdeImagesIntf. 2025-01-31 14:29:55 +02:00
Juha
476da882fa Delete some deprecated functions. Inspired by issue #41363. 2025-01-31 13:50:35 +02:00
Martin
ca16a22cea LazDebuggerGdbmiFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path. 2025-01-31 01:25:57 +01:00
Martin
3e75833edd LazDebuggerLldbFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path. 2025-01-31 01:25:57 +01:00
Martin
2c9e5f2f4b FpDebug: Test LineInfo and GetLineAddresses with filenames with/without path or wrong path (also needed for generics) 2025-01-31 01:25:57 +01:00
Martin
6c006a3e8e FpDebug, LazDebuggerFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path. 2025-01-31 01:25:57 +01:00
mattias
fc7ad93a93 codetools: fixed find references wrong tool 2025-01-30 09:32:53 +01:00
mattias
89d494f909 codetools: fixed endless loop parsing proc modifiers at end of source 2025-01-30 09:32:53 +01:00
mattias
90ddf0774e codetools: find references: find method overrides in other units 2025-01-29 16:08:05 +01:00
mattias
5979037e86 codetools: find references: started find method overrides 2025-01-29 16:08:05 +01:00
mattias
e6c486a8e7 codetools: added ReadRawPascal 2025-01-29 16:08:05 +01:00
Martin
5141571608 FpDebug: improve loading DWARF line info. Fix workaround for FPC issue 37658 / check the expanded FileName 2025-01-29 11:20:07 +01:00
wp_xyz
8ef40e37d5 TAChart: Fix potentially unbalanced sequence of Dataset.DisableControls and .EnableControls in TDbChartSource (https://forum.lazarus.freepascal.org/index.php/topic,70019.msg545153/topicseen.html) 2025-01-28 23:25:49 +01:00
mattias
584fb864fa codetools: fixed FindReferences for expression inherited name 2025-01-28 18:43:56 +01:00
mattias
6a79e2f3d0 pas2js: less hints 2025-01-28 10:31:04 +01:00
mattias
fd780d0e00 codetools: fixed resolving forward pointer type in other unit 2025-01-27 11:02:07 +01:00
Martin
b9e392ee96 SynEdit: SynEditKeycmds, added missing IntToIdent mappings. Marked some constants as unimplemented. 2025-01-26 15:35:55 +01:00
Martin
fce631b4f7 SynEdit: deprecate ecGotFocus / ecLostFocus. They have no functionality. 2025-01-26 15:35:55 +01:00
Martin
97ea7c51a4 SynEdit: - Replace ShortCutToText from SynEditKeyCmds (incomplete/broken) with the LclProc implementation. Issue #41360
- Fix condition for displaying 2nd shortcut in TSynEditKeyStroke.GetDisplayName
- Remove dead code.
2025-01-26 15:35:54 +01:00
mattias
1d92530751 codetools: less hints 2025-01-26 15:27:39 +01:00
mattias
2706cc285c codetools: fixed method jump from objfpc generic method body to decl 2025-01-26 15:23:38 +01:00
mattias
b7aafac192 codetools: fixed class completion of objfpc generic method 2025-01-26 14:55:54 +01:00
mattias
9d425ed90b codetools: renamed TCodeTreeNodeExtension ExtTxt fields 2025-01-26 14:55:54 +01:00
Martin
21d8cebd73 IDE, SynEdit: command to toggle fold on current line. Issue #41359 2025-01-26 12:20:02 +01:00
Martin
7f4426c2e9 SynEdit: Mark as changed (change gutter) if deleting line with ecDeleteLine (next line will be marked, like when selection was deleted). Issue #41264 2025-01-25 23:31:26 +01:00
Martin
c2974f91ee SynEdit: UnixShellScript Highlighter, treat # and ~ as identifiers rather than unknown. Add separate markup-color for unknown. Issue #41288 2025-01-25 22:12:52 +01:00
Martin
d121ba841e SynEdit: fix folded view, missing assign to result. (random gutter errors with wrapped text) 2025-01-25 21:40:13 +01:00
Martin
ab35263d34 IDE: Add config for SynEdit wrapped-view 2025-01-24 21:43:11 +01:00
Martin
dfadb86949 SynEdit: Wrapped-View, introduced MinWrapWidth 2025-01-24 21:43:10 +01:00
Martin
8acb7a8215 SynEdit: Wrapped-view, publish CaretWrapPos 2025-01-24 21:43:10 +01:00
Martin
8177877e02 SynEdit: Wrapped-view, map (mouse click) positions at (before/after) start/end of sub-line to the correct end/start pos of the subline (according to property CaretWrapPos) 2025-01-24 21:43:10 +01:00
Martin
1f18a0d57d SynEdit: TextDrawer, paint divider lines only for last wrapped line 2025-01-24 21:43:09 +01:00
Martin
2a874e1c87 SynEdit: fix invalidate gutter-lines, if caret Viewed-Y changes 2025-01-24 21:43:09 +01:00
Martin
ce7acbe6cf SynEdit: markup gutter-marks, use logical pos. Handle wrapped lines (phys pos occurs on every sub-line) 2025-01-24 21:43:09 +01:00
Martin
86abcd75d9 SynEdit: Add support for folding wrapped text 2025-01-24 21:43:08 +01:00
Martin
a09c94fa11 SynEdit: Folded-view, rename TopLine to TopViewPos 2025-01-24 21:43:08 +01:00
Martin
7727294e2c SynEdit: Folded-View, rename some fields 2025-01-24 21:43:07 +01:00
Martin
a949f2be2e SynEdit: Wrapped-view, clean up empty nodes 2025-01-24 21:43:07 +01:00
Martin
e331c9fb35 SynEdit: Wrapped-view, fix leaks. Remove event-handler and view in Destroy 2025-01-24 21:43:07 +01:00
Martin
bf012c22cd SynEdit: Wrapped-view, fix Wrap-Width (SynEdit needs 1 extra char) 2025-01-24 21:43:03 +01:00
Martin
94f2b48f00 SynEdit: Wrapped-view, fix painting for non-wrapped lines. Update values for current (sub-)line 2025-01-24 20:53:55 +01:00
Martin
bbee19f531 SynEdit: Wrapped-view, fix inserting lines 2025-01-24 20:52:21 +01:00