Leaderboard
Popular Content
Showing content with the highest reputation on 06/28/20 in Posts
-
This bug is not related to Imagelists or images at all. It also happens with just a single component on the form (e.g. a TLabel). It seems like "view as text" invokes the new LSP-based parser, which crashes.
-
If we can gather some more votes for that issue I will be happy to point the product management to it. As it seems to be some low hanging fruit (looks like a missing MoveViewToCursor call), we might have this being included in 10.4.1.
-
@Dinar It is now possible to resize the form. I have published new binaries to github. I oriented my design towards Visual Studio. You are referring to Visual Studio Code which is a different product. Anyhow, I like how Visual Studio Code displays the open files. It displays the FilePath to the right of the FileName using a different color. It would indeed be nice to be able to have an option to use such a layout. I am using a VCL TListBox to display the list of open modules. I don't think I can accomplish such a look using the VCL TListBox. Maybe this can be accomplished using FireMonkey? I normally do GUI work in .NET and have never used FireMonkey before. Anyhow I will look into it.
-
@Lars Fosdal Thanks for confirming it! QP Issue : https://quality.embarcadero.com/browse/RSP-29845
-
I have voted... And I am curious whether it will be fixed before the report is 5 years old 🙂
-
Find usages is one of the most useful and most frequently used features of a code editor. Must work flawlessly.
-
FWIW - reported as https://quality.embarcadero.com/browse/RSP-29564
-
I knew I had heard of this before : Clicking in Search for Usages window doesn't scroll cursor into view
-
Search for Usages not usable
Anders Melander replied to PeterPanettone's topic in Delphi IDE and APIs
Completely useless? It's not a new feature and it used to work-ish so it's probably just broken in 10.4. Maybe you can use "Find References" (Ctrl+Shift+Enter) instead. It also works sporadically in 10.3. I don't know about 10.4 though. Personally I always just do a Find In Files. Much more reliable. I guess once they have ironed out the worst LSP bugs Search for Usages and Find Reference can replace that. -
Delphi Rio 10.3.3 reinstall after uninstalling Delphi 10.4 doesn't update filetypes in registry
Dalija Prasnikar replied to vhanla's topic in Delphi IDE and APIs
Try going to to Options -> IDE - File Associations and doing Deselect All, Select All and Save. That should restore file associations for version where you have run Options dialog. In theory file associations will be reset as soon you save Options even without going to File Associations tab. -
fixed in revsion #3182 on 2020-06-06
-
Possible custom Format types?
Anders Melander replied to Mike Torrettinni's topic in RTL and Delphi Object Pascal
You can find a function to strip out format specifiers (among other things), including the index, width and precision stuff, here: https://bitbucket.org/anders_melander/better-translation-manager/src/a9e47ac90e7f80b67176cdb61b72aa34f4a8f165/Source/amLocalization.Normalization.pas#lines-306 The code as-is replaces %... with space to make the result readable. This is the relevant code: Result := Value; // Find first format specifier n := PosEx('%', Result, 1); while (n > 0) and (n < Length(Result)) do begin Inc(n); if (Result[n] = '%') then begin // Escaped % - ignore Delete(Result, n, 1); end else if (IsAnsi(Result[n])) and (AnsiChar(Result[n]) in ['0'..'9', '-', '.', 'd', 'u', 'e', 'f', 'g', 'n', 'm', 'p', 's', 'x']) then begin Result[n-1] := ' '; // Replace %... with space // Remove chars until end of format specifier while (Result[n].IsDigit) do Delete(Result, n, 1); if (Result[n] = ':') then Delete(Result, n, 1); if (Result[n] = '-') then Delete(Result, n, 1); while (Result[n].IsDigit) do Delete(Result, n, 1); if (Result[n] = '.') then Delete(Result, n, 1); while (Result[n].IsDigit) do Delete(Result, n, 1); if (IsAnsi(Result[n])) and (AnsiChar(Result[n]) in ['d', 'u', 'e', 'f', 'g', 'n', 'm', 'p', 's', 'x']) then Delete(Result, n, 1) else begin // Not a format string - undo Result := Value; break; end; end else begin // Not a format string - undo Result := Value; break; end; // Find next format specifier n := PosEx('%', Result, n); end; -
TIP: How to preview any text file in File Explorer
PeterPanettone replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
Microsoft File Explorer is such an outdated legacy tool. When you use Directory Opus as a replacement for Microsoft File Explorer you get an automatic preview of ALL text files (including all Delphi file types of course) with syntax highlighting and these features: The Directory Opus preview uses the preview handler from Rodrigo Ruz and has everything you could wish for in your wildest dreams: -
FastMM5 now released by Pierre le Riche (small background story)
Günther Schoch posted a topic in Delphi Third-Party
-
Beta testing is no substitute for having your own comprehensive set of automated tests. Beta testing is best used to help identify issues with design. It really shouldn't be used to find implementation bugs. I hope that Emba don't do that. When Emba tell us that they are going to focus on quality, it comes with talk of how many QP issues have been resolved. But for me that misses the point. Unless they are also fixing the development process that allows so many bugs, they will remain stuck on the treadmill, running to stay still.
-
FastMM5 now released by Pierre le Riche (small background story)
Günther Schoch replied to Günther Schoch's topic in Delphi Third-Party
OK - I attached now a small first test (FastMM5ConsoleTest.dpr) that compares FastMM5 with FastMM4. Please read first the attached SpeedTestMM5_Sample1.pdf to understand more on the background and motivation. SpeedTestMM5_Sample1.pdf FastMM5ConsoleTest.dpr -
ANN: StyleControls VCL v. 4.15 just released!
Almediadev Support posted a topic in Delphi Third-Party
Fellow Delphi Developers!StyleControls VCL 4.15 just released!http://www.almdev.comWhat's new:* added: TscGPPageViewer control - transparent page control with pages, which inherited from TscGPPanel (see new CustomGPUWP_MultiView demo)* added: new shape styles for TscGPButton, TscGPGlyphButton and TscGPCharGlyphButton controls (scgpLeftLine, scgpRightLine, scgpTopLine, scgpBottomLine)* added: ScaleInt, ScaleDouble methods to the TscStyledForm component (scale values unsing scale factor of current form)* added: TscGPPanel.BlurBackgorund and TscGPPanel.BlurBackgorundAmount properties (now background of the panel can be with blur effect)* added: High-DPI UWP MultiView Demo (UWP demo template, which helps you to create Modern Application with MultiView UI)Regards,Almediadev -
Search for Usages not usable
Anders Melander replied to PeterPanettone's topic in Delphi IDE and APIs
Like I said: It work-ish