dzEditorLineEndsFix and Windows 10

 Delphi  Comments Off on dzEditorLineEndsFix and Windows 10
Oct 122021

If you are still using Delphi 2006 to 2010 you have probably heard about my dzEditorLineEndsFix tool.

Apparently Microsoft has changed something in Windows 10 so it no longer locks the file EditorLineEnds.ttr after the Delphi IDE has exited. So it’s now possible to start the IDE again without moving/renaming this file. This means if you only ever run a single instance of the IDE you will no longer need my tool.

The problem still exists when running multiple IDE instances. So if you are a component or plugin developer and want to run the IDE inside the debugger, or if you want to have multiple projects open side by side, you might still want to use it.

I have have dzEditorLineEndsFix started automatically on logon from my Start-Up folder. That’s why I only now noticed the change and I have no idea when it happened.

 Posted by on 2021-10-12 at 16:20

PortableAppsToStartMenu 1.0.1

 Delphi  Comments Off on PortableAppsToStartMenu 1.0.1
Sep 172021

I wrote the tool PortableAppsToStartMenu in 2020 and have used version 1.0.0 ever since. Today I installed PortableApps on a new computer and found a bug. Hence the new release.

The new version handles the case when the section AppsHidden does not exist in the PortableAppsMenu.ini file.

 Posted by on 2021-09-17 at 20:43

Delphi Known IDE Packages Manager updated to Delphi 11 Alexandria

 Delphi, KnownIdePackagesManager  Comments Off on Delphi Known IDE Packages Manager updated to Delphi 11 Alexandria
Sep 172021

A while ago, after my post on Known IDE Packages in Delphi I wrote a the KnownIdePackagesManager tool which lists those packages, allows to disable and enable some of them and also set the package description for those packages that don’t have a meaningful description.

Today, I updated the tool to support Delphi 11 Alexandria.

Discussion about this post in the international Delphi Praxis forum.

 Posted by on 2021-09-17 at 19:16

GExperts for Delphi 11 isn’t here yet

 Delphi, GExperts  Comments Off on GExperts for Delphi 11 isn’t here yet
Sep 122021

I’m working on a GExperts release for Delphi 11. But due to the changes for High DPI support in the IDE this might still take a while.

If you are adventurous, you can always get the sources and build your own DLL. There is a project and build scripts for Delphi 11 already. But be warned: There will be bugs!

 Posted by on 2021-09-12 at 18:19

Separate cache directories per platform in the Uses Clause Manager in GExperts

 Delphi, GExperts  Comments Off on Separate cache directories per platform in the Uses Clause Manager in GExperts
Aug 082021

The Uses Clause Manager in GExperts has an “Identifier” tab that can be used instead of the Find Unit refactoring of the Delphi IDE (which for me doesn’t work most of the time and if it does is very slow). And of course the Uses Clause Manager also works for older Delphi versions which simply didn’t have this refactoring.

For this to work it parses all source files in the various search paths of the project. And because this takes a while it caches the results and only updates this cache if a new unit is found or a unit has been changed.

Until recently this parser was assuming that the current project is a Win32 application and set the conditional defines accordingly. Later I chanted the conditional defines depending on the currently selected platform but this caused a problem: Units parsed for different platforms ended up in the same cache so it was possible that the lookup was showing wrong results or at least the “Open Unit” button placed the cursor on the wrong line.

Today I changed this to use separate cache directories for each platform, so this problem should no longer occur.

There is not yet a GExperts release containing this change. If you want to use it, you will have to compile your own DLL which is much easier than you might think.

btw: Did yo know that Stefan Glienke has published a similar tool called Delphi Uses Helper? Mine of course is better and much faster. 😉
(Actually it depends on your computer and the project size. On my computer for large projects both tools are about on par, but mine is more flexible. Stefan thinks otherwise. But check it out yourself.)

If you want to comment on this blog post, you can do so in the corresponding topic in the international Delphi Praxis forum.

 Posted by on 2021-08-08 at 10:00