Jump to content

PeterPanettone

Members
  • Content Count

    1064
  • Joined

  • Last visited

  • Days Won

    5

PeterPanettone last won the day on August 2 2021

PeterPanettone had the most liked content!

Community Reputation

139 Excellent

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. PeterPanettone

    AV in bds.exe

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

    AV in bds.exe

    Has anyone ever had this error message? It does not go away. The only way out is killing bds.exe. Delphi 11.1 Alexandria.
  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. PeterPanettone

    String Splitter

    This is a very simple project, as I've found no simple solution to my question: StringSplitter.zip
  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. 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>';
  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. 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?
  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.
×