Commit Graph

19 Commits

Author SHA1 Message Date
Ansgar Becker
930a815d6a fix: wrong length of text detected (always 0) 2026-01-21 16:38:13 +01:00
Ansgar Becker
3b24707072 fix: some more compiler warnings and hints 2026-01-12 13:53:59 +01:00
Ansgar Becker
8a667f297a feat: create a TSynEditMarkup descendant and use it for highlighting selected text occurrences
This replaces the old OnPaintTransient event, which is not supported in Lazarus/SynEdit
2026-01-12 13:04:52 +01:00
Ansgar Becker
1527d35535 chore: remove dead code and calls: HasSizeGrip, FixControls, TranslateComponent, ConfirmIcon 2025-12-31 13:39:47 +01:00
Ansgar Becker
825447f472 fix: no locale influence and no scientific notation in JSON reformatter 2025-12-30 15:54:30 +01:00
Ansgar Becker
4215aeeaaf enhance: reduce width of left gutter in popup text editor 2025-12-18 17:14:22 +01:00
Ansgar Becker
446d78c295 fix: assign no Syn highlighter by default and call it "Text", in texteditor 2025-12-16 16:12:20 +01:00
Ansgar Becker
913fc9dcde feat: support XML formatting in grid popup text editor 2025-12-09 16:40:38 +01:00
Ansgar Becker
db00c83665 fix: empty KeyStrokes list on text editor
Closes #2131
2025-12-03 14:56:54 +01:00
Ansgar Becker
56b783d829 fix: add encoding selector to file-open dialog
Refs #2268
2025-11-26 12:55:28 +01:00
Ansgar Becker
bac0d7a585 feat: recreate basic TExtFileOpenDialog without OS owned dialog and room for customization
Refs #2268
2025-11-25 21:33:43 +01:00
Ansgar Becker
d9d870ffc3 Fix unsaved highlighter selection of default "General" 2025-10-07 20:24:09 +02:00
Ansgar Becker
df6abc9b25 Prefer UTF-8 encoding for loading files, instead of auto-detection, which breaks in many cases. See https://www.heidisql.com/forum.php?t=44351 2025-08-16 15:49:23 +02:00
Ansgar Becker
103c580daa Issue #2227: enable formatter for JSON code in text editor 2025-07-26 17:11:55 +02:00
Ansgar Becker
48029f420e Enable Delphi compatibility mode per file, remove the global mode setting 2025-06-11 16:03:06 +02:00
Ansgar Becker
2fa2d12d4d Issue #2187: Fixed EAccessViolation when closing editor while using non-default theme 2025-06-11 15:54:53 +02:00
Ansgar Becker
7a8566a91c Fix a bunch of compiler hints and warnings, and add a basic exception dialog showing the callstack 2025-04-25 14:29:42 +02:00
Ansgar Becker
f9ce32542c Issue #1482: high DPI related: try to store and restore width and height of dialogs without DPI-back-calculation 2025-03-26 16:52:44 +01:00
Ansgar Becker
539e5bf7f1 Issue #1482: text editor dialog and customize highlighter dialog 2025-03-24 14:23:33 +01:00