PeterPanettone
Members-
Content Count
1318 -
Joined
-
Last visited
-
Days Won
5
Everything posted by PeterPanettone
-
Several MMX actions automatically set Bookmarks in the source code or even set a mark where the ESC key jumps to another position in the source code. I find this extremely disturbing. Where can I switch this OFF?
-
What new features would you like to see in Delphi 13?
PeterPanettone posted a topic in Delphi IDE and APIs
Do you have any special wishes for Delphi 13? Built-in AI? NeuraLink interface? A new Code Editor? -
Suggestions for improving the display of tabs in the SourceCode editor
PeterPanettone posted a topic in Delphi IDE and APIs
Better display of tabs in the SourceCode editor (OPTIONAL): 1. Marking of the MainForm unit in bold font 2. Marking files that do not belong to the current project in italics This would lead to more visual consistency and transparency in the presentation of the tabs in the SourceCode editor. What do you think? Thanks to everyone for taking part in this BRAIN TEST! -
Suggestions for improving the display of tabs in the SourceCode editor
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
Having flexible UI options is always a good thing. Thank you! -
At run-time, select any text in a TRichEdit and press CTRL+I: The selected text will be replaced by a TAB "character," which has the same effect as pressing the TAB key. BTW, the same effect occurs in Notepad. Is there a way to prevent this? Delphi 12.2 Windows 11 x64
-
Strange effect in TRichEdit: CTRL+I outputs TAB
PeterPanettone replied to PeterPanettone's topic in VCL
Another solution could be to subclass TRichEdit and then (temporarily) suppress the TAB character, but it's not worth the effort. -
Strange effect in TRichEdit: CTRL+I outputs TAB
PeterPanettone replied to PeterPanettone's topic in VCL
Thanks for the information. -
Strange effect in TRichEdit: CTRL+I outputs TAB
PeterPanettone replied to PeterPanettone's topic in VCL
Using KeyPreview, I have even tried the following trick: procedure TformTextEditor.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if (Key = Ord('I')) and (Shift = [ssCtrl]) then begin CodeSite.Send('TformTextEditor.FormKeyDown: '); Key := 255; end end; And then in RichEditKeyDown: if (Key = 255) and (Shift = [ssCtrl]) then begin CodeSite.Send('RichEditKeyDown: '); Key := 0; // does not prevent TAB output! end -
Strange effect in TRichEdit: CTRL+I outputs TAB
PeterPanettone replied to PeterPanettone's topic in VCL
Even when KeyPreview = True, setting Key := 0; in FormKeyDown does not prevent this strange effect: procedure TformTextEditor.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if (Key = Ord('I')) and (Shift = [ssCtrl]) then begin CodeSite.Send('TformTextEditor.FormKeyDown: '); Key := 0; end end; -
I have downloaded and installed the installer for GExperts 1.3.24 Beta1 for Delphi 12 in Delphi 12.1. Unfortunately, I cannot find the GExperts Editor Toolbar that I have used for so long: Are my eyes failing, or has it vanished?
-
Switching off automatic Bookmarks?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
To summarize, MMX is an extremely valuable and flexible addition to the Delphi developer's toolkit. I like the fact that you can switch off the bookmarks if you don't need them. Perhaps it would be helpful if the bookmarks were switched off by default during the initial installation. -
Switching off automatic Bookmarks?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
It's nice to hear that someone uses it. -
Switching off automatic Bookmarks?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
Numbers? -
Switching off automatic Bookmarks?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
Who? -
Switching off automatic Bookmarks?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
Here are the places I found where the "drop bookmark" feature can be switched off: History: Searching: Did I miss any? Is anyone using these dropped bookmarks? Thanks for the other basic MMX features; they are very helpful! -
This is the GExperts version I use: In the old days, "when GExperts was still working," GExperts remembered its window sizes. Now, when I open a GExperts window (e.g. Code Librarian), it always starts at the same minimal default size (although the window position is being restored). Is there a way to make GExperts remember its window sizes again? I've tried to edit the window size values in the Registry, but it does not work - it always starts at the minimal size:
-
Delphi 12.1, GExperts 1.3.24 build 4222, Windows 11: Code Librarian doesn't remember its window size, font size, and the width of its treeview panel, although I have saved the IDE desktop after setting both. Is this a bug, or is there a trick to having these options restored between sessions?
-
Are you sure that "scaling" generally works as intended? Maybe we could do without it
-
This might also cause another existing problem: Currently, if the IDE CRASHES (which unfortunately happens sometimes), all changes in CodeLibrarian (e.g., adding an Item) are LOST! So, the remedy proposed by you should also be applied to content saving: All CodeLibrarian CONTENT CHANGES should also be saved during FormHide).
-
Has Delphi not been suffering from this problem for many years now?
-
Thanks for the information. What do you mean by "scaling" in this context?
-
Dear Thomas, Thank you for quickly finding the cause of the CodeLibrarian's misbehavior! Does this mean that you also have a remedy? The "Side-by-side" Layout is preferable on a widescreen monitor, of course: However, it's the width of the treeview that is not remembered.
-
Dear Thomas, In my posting, I mentioned "Delphi 12.1". I suppose that by configuration dialog, you mean CodeLibrarian's Options dialog where I have set the font size: But as soon as I reopen CodeLibrarian, the settings are lost.
-
On Mac, I have used SnippetsLab for Delphi code snippets. I have exported them to a json file. Does anybody know a good snippet manager for Windows that: - supports Delphi syntax - can import json files - has good organizational features like tags, folders, search, filters, etc.
-
The advantage of GExpert's Code Librarian is that it uses the same syntax highlighter as the IDE editor itself. Its disadvantage is that the edits are lost when the IDE crashes after you have made some edits in Code Librarian in the current session!