Jump to content

PeterPanettone

Members
  • Content Count

    1231
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PeterPanettone

  1. PeterPanettone

    AV in bds.exe

    I like people that have preserved their sense of humor in these dark times 😀
  2. PeterPanettone

    String Splitter

    This is a very simple project, as I've found no simple solution to my question: StringSplitter.zip
  3. PeterPanettone

    String Splitter

    You should install it in the IDE's Tools menu:
  4. PeterPanettone

    String Splitter

    There was a bug in the regular expression that caused #39#39#39#39 and #39#39#39 to be transformed into #39#39. This bug is now fixed in version 3a: StringSplitterversion3a.zip
  5. PeterPanettone

    String Splitter

    To avoid errors when the output is used in Delphi code, if the input string contains single quotation marks (#39), they should be replaced by two quotation marks (#39#39): ThisString := TRegEx.Replace(ThisString, '(?:'')+', #39#39, [roIgnoreCase]); (Please note that System.SysUtils.StringReplace cannot be used for this task, as it would replace quotation marks (#39) even in occurrences of two quotation marks (#39#39)!) Hence, here is version 2: StringSplitterversion2.zip
  6. I have a very long HTML code text in the clipboard (<HTML>...</HTML>) without line-ends which I want to convert into a string constant in the Editor. If I use any of the GExperts string converters, I get the Compiler error message "Line too long". So how can I convert-split this very long clipboard string into concatenated strings of fixed maximal length suitable for a string constant, e.g.: const MyHTML = '<HTML> ...' + '...' + '...' + ... '...</HTML>';
  7. PeterPanettone

    Converting a very long text to concatenated strings?

    Done: You can download it here:
  8. PeterPanettone

    Converting a very long text to concatenated strings?

    Thanks for all the answers. I was hoping that an existing addon like GExperts or MMX would provide that feature. As it is very easy to write such a tool (and I am not a night worker), I will do it tomorrow.
  9. PeterPanettone

    Show the ancestors for a class?

    Does MMX have a feature to show the ANCESTORS (e.g., in a hierarchical tree) for a specific known class? Or is there any IDE addon that has such a feature?
  10. PeterPanettone

    Show the ancestors for a class?

    This is true for standard classes. But I need it for custom third-party classes.
  11. PeterPanettone

    Show the ancestors for a class?

    To solve this problem, I need to get e.g. Vcl.StdCtrls.TButton from TButton. How can I do that?
  12. PeterPanettone

    Show the ancestors for a class?

    Unfortunately, this does not allow me to show all the ancestors, e.g., of `TButton`.
  13. To clear all Parnassus Bookmarks, you have to dig deeply into the IDE's menu structure: VIEW → EDITOR → BOOKMARKS: Isn't there a shortcut to clear the Parnassus Bookmarks?
  14. PeterPanettone

    Parnassus Bookmarks: Clear All Bookmarks?

    Nice point!
  15. PeterPanettone

    Parnassus Bookmarks: Clear All Bookmarks?

    "Open Files" shows the Bookmarks from all opened files, while "Current File" shows only the Bookmarks from the current unit.
  16. PeterPanettone

    Parnassus Bookmarks: Clear All Bookmarks?

    Thanks.
  17. PeterPanettone

    Parnassus Bookmarks: Clear All Bookmarks?

    Unfortunately, there is no keyboard shortcut to clear all Parnassus Bookmarks:
  18. PeterPanettone

    Parnassus Bookmarks: Clear All Bookmarks?

    How do you show this window?
  19. PeterPanettone

    Parnassus Bookmarks: Clear All Bookmarks?

    I have tried the GExperts IDE Menu Shortcuts: But it does not work!
  20. https://techcrunch.com/2022/06/10/apple-m1-unpatchable-flaw/
  21. I have an AdBlocker (AdBlock). No problems whatsoever.
  22. I can confirm that the link works in MS Edge too.
  23. The link works in any browser. What browser do you use? Please simply left-click on the link to open the link.
  24. RANDOMLY (and sometimes repeatedly), the Delphi 11 Alexandria IDE starts with this error message (of course, the IDE start is delayed until I click the OK button on the error message): Obviously, one of the packages loaded during the IDE start randomly produces this error. Unfortunately, the error message does not tell me which package causes the error. As this error occurs RANDOMLY, it is not possible finding the culprit by switching off single packages. Has anyone encountered this type of error?
  25. PeterPanettone

    IDE start randomly stops with error message

    I use GExperts, CnPack, MMX, Parnassus Bookmarks, and Project Magician.
×