67 Commits

Author SHA1 Message Date
Martijn Laan
55d5df2b45
Improve ShowCaretPosition debug option to show style names instead of only numbers. 2025-06-08 22:21:17 +02:00
Martijn Laan
7241c79431
Highlight occurrences of current word: be more like VSCode and VS. For example, exclude 'begin' and 'end' in [Code]. 2025-06-07 13:58:20 +02:00
Martijn Laan
d79a45e937
synch-isfiles.bat: avoid duplicating the three manually edited text files since it leads to mistakingly editing the duplicate. Instead pick up the files from their source dir on DEBUG. Now on correct branch and with .gitignore update. 2025-06-04 14:48:09 +02:00
Martijn Laan
82a13227cf
Various tweaks. 2025-05-28 16:31:06 +02:00
Martijn Laan
6ef4aa233f
Merge branch 'UpdateFindResult' 2025-05-09 06:58:06 +02:00
Martijn Laan
2a1f865be8
Update FindResultsList when lines are inserted or deleted. Does not update the hits counters. Also doesn't handle other edits so doing those and then double clicking a list item still selects an outdated position. (Notepad++ has this issue as well by the way.) 2025-05-08 16:07:06 +02:00
Martijn Laan
409e7fd30c Cleanup. 2025-05-08 13:09:27 +02:00
Martijn Laan
95737b7b5b
Cleanup. 2025-05-06 15:51:18 +02:00
Martijn Laan
1162b650af
Hide whole word find/replace option when regex is active, because then the option doesnt do anything. 2025-04-30 19:20:29 +02:00
Martijn Laan
3b20daba3e
Cleanup. Doesnt really matter since atm TReplaceDialog's Options and FindText directly returns the inherited values. 2025-04-30 18:16:03 +02:00
Martijn Laan
0759cc7b87
Update for unit split + use TrustedFile before loading ISCmplr.dll. 2025-03-12 22:36:48 +01:00
Martijn Laan
cf309c0d5f
Shorten the VSCodeMemoKeyMap update panel message + update whatsnew. 2025-01-29 09:55:19 +01:00
Jordan Russell
35416c82b7
Don't use custom font for autocompletion lists, and fix wrong editor font size when started on high DPI.
Discussion:
https://groups.google.com/g/innosetup/c/JrVZVkMqLWg
2025-01-29 00:59:51 -06:00
Martijn Laan
2679b7feec
Add 'procedure' and 'function' headers to the hints and also show those without parameters. 2025-01-19 13:44:35 +01:00
Martijn Laan
9f9b841e7b
Add function definition hints on mouseover for [Code] functions and class members. Always shows all matching class members instead of just those of the object's class.
Todo: Missing are 'procedure' and 'function' headers and also those without parameters.
2025-01-16 16:40:36 +01:00
Martijn Laan
9b3b79dae4
Mini cleanup. 2025-01-16 16:36:20 +01:00
Martijn Laan
7b6a56d383
Update visible copyright dates. 2025-01-02 09:21:00 +01:00
Jordan Russell
4b9b9576aa
Improve OnGetActiveFormHandle handler.
Use GetLastActivePopup instead of Screen.ActiveForm.
- Screen.ActiveForm doesn't support non-VCL windows like the IDE's Find dialog.
- Screen.ActiveForm can be nil if the main form has been shown but never became the active window.
- Screen.ActiveForm can be nil if the active form was destroyed and another form hasn't been activated yet.
2024-12-29 03:41:47 -06:00
Martijn Laan
7096563954
Make sure an opening brace added while autocompletion is active always cancels autocompletion instead of only doing this when a calltip is found. 2024-12-28 18:59:25 +01:00
Martijn Laan
4786a09981
Don't cancel autocomplete when a digit is added, but also don't start it. Allows autocompletion of 'Extract7ZipArchive'. 2024-12-28 18:35:13 +01:00
Jordan Russell
cdb4879c59
IDE.MainForm: Update remaining uses of Application.Handle. 2024-12-24 23:18:35 -06:00
Jordan Russell
8df2d0b840
IDE: Add common function for launching files and URLs. 2024-12-24 03:34:59 -06:00
Jordan Russell
72dd250bb1
IDE: Use proper owner on message boxes.
AppMessageBox wasn't compatible with MainFormOnTaskBar=True; it displayed every message box with no owner.

Also found that the VCL doesn't set the owner correctly on dialogs displayed when the app isn't in the foreground. Workaround implemented.

Left the IsIconic call (from #164) in for now, though I don't think it's needed anymore in the IDE as long as message boxes use the main form as their owner. It may still be needed by Setup; haven't yet checked.
2024-12-08 04:50:44 -06:00
Jordan Russell
c3563a2d6f
IDE: Set Application.MainFormOnTaskBar=True
Fixes two issues (seen on Windows 11):
- No animation when minimizing and restoring
- If you maximized the window, then minimized, then moved the mouse over the taskbar thumbnail, the window was shown in an incorrect position, partly off the edge of the screen.

It can't be enabled for /WIZARD currently because MainForm is hidden in that case.
2024-12-02 04:25:59 -06:00
Martijn Laan
e8d5e01f14
Make it a bit clearer where to look for the VSCode editor keys option. 2024-11-20 16:11:45 +01:00
Martijn Laan
6c19d08503
Improve UpdatePanel messages. 2024-11-20 15:56:51 +01:00
Martijn Laan
51d663f2ea
Add new Show whitespace option. 2024-11-20 15:43:41 +01:00
Martijn Laan
5d8f8db7f9 Fix typo. 2024-11-20 09:03:36 +01:00
Martijn Laan
0abd0b3239 Use a different color for the VSCode UpdatePanel message. Makes it better/clearer when it wants to show both messages. Uses blue since the VSCode logo is blue. 2024-11-20 09:01:57 +01:00
Jordan Russell
f3eea5ebc9
IDE.MainForm: Stop the Delphi IDE (11.3) from adding Explicit* properties to the .dfm file. 2024-11-20 01:32:52 -06:00
Jordan Russell
34eb21170d
Store UpdatePanel state in a separate key.
Because they're not options.
2024-11-17 23:42:27 -06:00
Jordan Russell
c07e760e5e
Optimize UpdateCompileStatusPanels. 2024-11-17 03:15:34 -06:00
Jordan Russell
7ae9d96076
Make compile progress bar movement "smooth" like standard progress bars.
It was drawing in chunks, but only Windows XP's progress bar had chunks. Switch to PP_FILL, added in Windows Vista.

Also add border to the non-themed drawing.
2024-11-15 02:52:08 -06:00
Martijn Laan
de57c26377
Cleanup. 2024-11-14 23:41:22 +01:00
Martijn Laan
292c0d9156
Fix ESelectNextOccurrence and ESelectAllOccurrences search options. Also add a comment to explain the preselect. 2024-11-14 23:39:43 +01:00
Martijn Laan
c73c8e7125 Autocompletion now works for multiple flags instead of for the first only. Does require the flags to be valid ones. Also some cleanup. 2024-11-05 13:47:02 +01:00
Martijn Laan
c03d812551
Make it so the UpdatePanel can show multiple messages and add one for the VSCode shortcuts. 2024-10-26 11:16:12 +02:00
Martijn Laan
f41fde6bdf
Added autocompletion support for the [Messages] section. 2024-10-25 07:42:33 +02:00
Martijn Laan
c9a9dc56b7
Cleanup (prexisting) can paste check. 2024-10-11 13:18:42 +02:00
Martijn Laan
d7ae087874
Finish. Tests shown there's no special code for rectangular paste text needed/wanted. 2024-10-11 13:15:19 +02:00
Martijn Laan
fe3df834dc
Make undo work + cleanup. 2024-10-11 09:37:51 +02:00
Martijn Laan
650515df48
Clarify. 2024-10-11 09:32:32 +02:00
Martijn Laan
c8718fe8a7
Comment tweaks. 2024-10-11 09:31:29 +02:00
Martijn Laan
a959c5a0fd
Now that Scintilla does proper multiple selection copy thanks to SCI_SETCOPYSEPARATOR, tie up the loose end by implementing multiple selection paste as well. Huge improvement 👍
Todo: the rectangular paste check.
2024-10-11 09:25:01 +02:00
Martijn Laan
53f5b3b335
Revert "Add separate 'AutoAutoComplete' setting for [Code]. No GUI yet."
This reverts commit f422c5331f0cff22d38408369e243435866e7178.
2024-10-10 12:31:54 +02:00
Martijn Laan
f422c5331f
Add separate 'AutoAutoComplete' setting for [Code]. No GUI yet. 2024-09-30 16:52:25 +02:00
Martijn Laan
f81344c8e0
Case cleanup. 2024-09-30 16:43:54 +02:00
Martijn Laan
2f6c3d2c6c
Fix whitespace. 2024-08-29 09:57:41 +02:00
Martijn Laan
85ec7b606f
Added alternative compile shortcut (Shift+F9 or F7). 2024-08-28 18:11:53 +02:00
Martijn Laan
969320c718
Add comment. 2024-08-28 18:10:11 +02:00