Jump to content

dummzeuch

Members
  • Content Count

    2876
  • Joined

  • Last visited

  • Days Won

    101

Everything posted by dummzeuch

  1. dummzeuch

    How to change the tmainmenu Designer ?

    Actually I invested many hours to improve the performance of the formatter. But that was many years ago. I don't know how I found the time for that. Probably by not wasting so much time in front of the bloody TV...
  2. dummzeuch

    String literals more then 255 chars

    No, there are other kinds of strings where this could be usefull, e.g. JSON or CSV data for e.g. unit tests.
  3. dummzeuch

    How to change the tmainmenu Designer ?

    Hm, looks like I actually finished that work I was talking about, and had forgotten 😉
  4. dummzeuch

    Main menu

    That is not a menu of the IDE but one added by some plugin or possibly a property editor. (Or it is part of a higher SKU than I know, e.g. Delphi Enterprise or Delphi Architect)
  5. dummzeuch

    Main menu

    There are only two options for now: Hide Window Menu Move the Component menu to Tools Both can be found on the IDE tab of the GExperts configuration dialog. I have no plans exending this functionality, but I am - as always - accepting patches.
  6. dummzeuch

    How to change the tmainmenu Designer ?

    @Attila Kovacs I had started some work in this direction (not just for TMenuBuilder but also some of the other tool windows that seem to open at random positions (Action Manager, Popup Menu Builder ...) but never finished it. If you have got some working code, I'd be willing to try including it into GExperts. Best way would be to open a feature request on Sourceforge, attaching the code.
  7. dummzeuch

    String literals more then 255 chars

    You are missing the point. We are not talking about missing/incomplete/buggy IDE features here (or at least I am not) but the pain in the lower back any new language features poses for third party tools that parse the source code, in particular the GExperts sources formatter, where the code isn't really well structured.
  8. dummzeuch

    String literals more then 255 chars

    It has been donated by its original author to the GExperts project, so it has the same license as GExperts itself. The source code is part of the GExperts sources, but lives in a subdirectory of its own with few dependencies to any outside code.
  9. dummzeuch

    String literals more then 255 chars

    I wasn't talking about Yukon. I can live with the formatter not supporting multi line strings, if (!) it turns out the change is too complicated. But these not supported language features add up over time and once they reach a certain threshold it simply doesn't make much sense use the GExperts. In an ideal world I or somebody else would start implementing support for new language features during the beta phase. But I'm not participating in the Beta and of some other Beta tester has made those adaptions, I don't know about it (he wouldn't be allowed to tell me). Btw. you could still use that feature, simply enclose those constructs in {(*} and {*)} so the formatter will leave that code alone.
  10. dummzeuch

    String literals more then 255 chars

    It definitely does.
  11. dummzeuch

    String literals more then 255 chars

    Yes, I know. But I also know that rewriting something from scratch takes a lot more time than one initially thinks. And may projects that start out as "This legacy code is cr*p, let's rewrite it" get cancelled due to time and budget overrun. Since my time is severely limited, I'm not going to rewrite that parser as long as it kind of works. And if it terminally breaks, I'm going to remove the code formatter for newer Delphi versions instead. There is a built in code formatter in the IDE after all, even though I don't really like it. Btw: I hope the built in code formatter was tested with multi line strings ...
  12. dummzeuch

    String literals more then 255 chars

    That "multiline(...)' example was just the first thing that came into my mind. I just wanted to show something easier to recognize than these three quotes. Unfortunately the parser is quite complicated as it is now (I wouldn't have written it that way, but I also don't want to take the time to rewrite from scratch), so I wouldn't bet on the tweak being not too complicated. We'll see.
  13. dummzeuch

    String literals more then 255 chars

    Not quite the implementation I would have liked though. Triple quotes '''? Who came up with that? Is that copyied from another programming language? I mean, Pascal is said to be very verbous, so why not somehing more explicit like: blub := multiline(' line1 line2, indented line3 '); People who don't like verbosity would complain of course, but these would complain about Pascal syntax anyway. (Goes away, silently weeping and anticipating yet another long night trying to adapt the GExperts Source Formatter to yet another string syntax ...)
  14. dummzeuch

    Export a thread??

    As with any website: Print it. On paper, if you want to add notes. To pdf and send it to your ebook reader, if you prefer that.
  15. dummzeuch

    Turning off updates in Windows 10 laptop

    The only sure way I know to prevent windows from updating is to disconnect it from the internet. That can be easily done with a virtual machine. Alternatively it's probably possible to only block it from accessing Microsoft servers. Of course there is the option to pause updates, but that only works for up to one month and has to be extended regulator after that. And it won't prevent an update to the next Windows 10 release when support runs out.
  16. dummzeuch

    shortcut keys prev/next identifier reference

    The easiest solution would probably be to assign different shortcut keys. No idea which part of the IDE now uses them.
  17. Did Embarcadero buy SmartInspect? When? Last time I looked, it belonged to Code Partners Pty. Ltd.
  18. dummzeuch

    Call for Delphi 12 Support in OpenSource projects.

    Why not just use IFEND for all? {$LEGACYIFEND ON} switches XE4+ back to the old behaviour. (Didn't know that, it never mattered to me, as I always had to support some older Delphi version anyway.)
  19. dummzeuch

    Call for Delphi 12 Support in OpenSource projects.

    The only problem I remember is that early versions required {$ifend} rather than {$endif}. Apart from that checking the compilerversion should work for all versions after Delphi 6 (I cannot speak for Delphi 8 though, I skipped it).
  20. dummzeuch

    Call for Delphi 12 Support in OpenSource projects.

    That would make it harder to detect breaches of the NDA and start arguments about where the limits are. It's much easier to forbid any mention.
  21. dummzeuch

    Call for Delphi 12 Support in OpenSource projects.

    It was introduced with Delphi 6.
  22. What is "Delphi 11.3 Alexandria, lite"? That does not sound like something Embarcadero offers.
  23. dummzeuch

    Help with Delphi Community Edition

    Or you get a network named user license, then you can have as many installations as you like. You can only use (run) a limited number of these installations at the same time, but I don't remember how many. It's more than two though.
  24. dummzeuch

    SBOM tool for Delphi

    I've got a tab on our About dialog that lists all open source libraries used in the project based on checking whether a specific unit is linked to the executable. The idea there is to automatically provide credits to these, but it could be extended to also include commercial libraries as well. Just find a unit name in these libraries that is always llinked in when the library is used. It looks like this: That's not quite an SBOM, but it is a good start, I think. Of course this only makes is easier to get such a list if you have more than a few programs, otherwise doing it manually would not be such a chore either. Here is the Stack Overflow question that got me started on how to do that: https://stackoverflow.com/q/12104914/49925
  25. I have just finished the first (sort of) working version of a new Grep Expert in GExperts. My working title for it is "Fast Grep", but I don't really like that. Perhaps you can suggest a better name? It does the following: It opens a new (dockable) window in which you can enter a regular expression. As you type (with a short delay after the last keystroke), it runs the RegEx on the current editor window. It then displays a list of all matches in the window, giving the filename, line number and some context (I took this code from the Bookmarks Expert). You can then use the up/down arrow keys to scroll through these matches. While you do that the cursor in the editor window will move to the row/column of the currently selected entry. Pressing Enter closes the Fast Grep window and your cursor will end up at the selected match position. Pressing Esc will also close the Fast Grep window and move the cursor back to where it was when you started Fast Grep. The current source code in svn already contains this functionality, just in case you want to check it out. Beware that this is a work in progress and pretty much untested!
×