Jump to content

PeterPanettone

Members
  • Content Count

    1318
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PeterPanettone

  1. PeterPanettone

    Switching off automatic Bookmarks?

    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?
  2. Do you have any special wishes for Delphi 13? Built-in AI? NeuraLink interface? A new Code Editor?
  3. 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!
  4. Having flexible UI options is always a good thing. Thank you!
  5. PeterPanettone

    Strange effect in TRichEdit: CTRL+I outputs TAB

    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
  6. PeterPanettone

    Strange effect in TRichEdit: CTRL+I outputs TAB

    Another solution could be to subclass TRichEdit and then (temporarily) suppress the TAB character, but it's not worth the effort.
  7. PeterPanettone

    Strange effect in TRichEdit: CTRL+I outputs TAB

    Thanks for the information.
  8. PeterPanettone

    Strange effect in TRichEdit: CTRL+I outputs TAB

    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
  9. PeterPanettone

    Strange effect in TRichEdit: CTRL+I outputs TAB

    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;
  10. PeterPanettone

    Editor Toolbar?

    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?
  11. PeterPanettone

    Switching off automatic Bookmarks?

    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.
  12. PeterPanettone

    Switching off automatic Bookmarks?

    It's nice to hear that someone uses it.
  13. PeterPanettone

    Switching off automatic Bookmarks?

    Numbers?
  14. PeterPanettone

    Switching off automatic Bookmarks?

    Who?
  15. PeterPanettone

    Switching off automatic Bookmarks?

    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!
  16. PeterPanettone

    Gexperts forgets its window sizes

    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:
  17. PeterPanettone

    Does GExperts suffer from amnesia?

    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?
  18. PeterPanettone

    Does GExperts suffer from amnesia?

    Are you sure that "scaling" generally works as intended? Maybe we could do without it
  19. PeterPanettone

    Does GExperts suffer from amnesia?

    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).
  20. PeterPanettone

    Does GExperts suffer from amnesia?

    Has Delphi not been suffering from this problem for many years now?
  21. PeterPanettone

    Does GExperts suffer from amnesia?

    Thanks for the information. What do you mean by "scaling" in this context?
  22. PeterPanettone

    Does GExperts suffer from amnesia?

    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.
  23. PeterPanettone

    Does GExperts suffer from amnesia?

    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.
  24. PeterPanettone

    Snippets Manager for Windows?

    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.
  25. PeterPanettone

    Snippets Manager for Windows?

    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!
×