Jump to content

Denis Dresse

Members
  • Content Count

    11
  • Joined

  • Last visited

Everything posted by Denis Dresse

  1. Denis Dresse

    Delphi 11.3 is available now!

    Ctrl + G works fine
  2. Denis Dresse

    Delphi 11.3 is available now!

    Yes I mean "Ctrl + ClickMouse". With my big project, it is not working in most of the cases. Sometimes it works, taking 3 seconds or more to get the result. (and we used it for years)
  3. Denis Dresse

    Delphi 11.3 is available now!

    With Delphi 11.3, the build time of a big project takes now 6 minutes (it was around 1 minute before with 11.2... and 50 seconds with 10.x) For the test, I do a "Clean" and then a "Build" Do you experiment the same ? PS : other problem : the inspection of the code with "CTRL" and "selection" do not almost never gets you to the definition. I use now the good old "search", as in a Notepad. It was the case allready with 11.x, but now it becomes worse
  4. Hello, We just installed the Delphi 11.1. But there is a problem with the TRichEdit. When we add a line including formatting characters as "alt 205" or "alt179" or "alt196", with the "Courier New" font, then the police changes to an other police (Segoe UI Symbol) and the result is ugly. We uses the following instruction for adding this line : myRichEdit.SelText := myString. This way of reporting was used for years without problem in many places of our application. Is it a documented bug, are there any turnarounds ? Any help would be appreciated, Denis Dresse
  5. Thanks for this new optimisations Denis
  6. Hello, My colleague found a turnaround (without using the problematic SetText procedure) 0- As before, we add the lines with 'Courier New' and special characters. Result is ugly as shown before. But for each line of the memo, we store the font color and the size (in a memory object ALineSpecial). 1- At the end of the addings I place : RE.font.Name := 'Courier New'; All the text is now well aligned, but we lost the colors and the size. 2- I parse all the lines, and when needed, set the color and the size of the concerned line : myLineIndex := ALineSpecial.getInt1(i); // get the index of the line RE.SelStart := Perform(EM_LINEINDEX, myLineIndex, 0); // set start position of the selection RE.SelLength := length(Lines[myLineIndex]); // set lenght of the selection (the line) myColor := TColor(ALineSpecial.getO(i)); // get the color to apply (it comes from the memory object) RE.SelAttributes.Color := myColor; // apply the color to the selection And the result is OK Many thanks for your contributions, Denis
  7. Thanks for this links, but it do not adress the TRichEdit.SelText problematic, which transforms the "Courier New" font, when some special characters are given to SelText (ex : ═ alt 205 et ─ alt 196...) Denis
  8. We had exactly the same lines in our program : And the proposition with "DefAttributes" do not work either.
  9. Hello, Have you a link to the specs/docs of this new version of rich edit common control (4.x) ?
  10. Hello, Thanks for your answer. We added the line as you suggested, but the result is the same. In the "selText", the special characters seem not to be available in "Courier New", so it switches to the other font. It was not the case in Delphi 10.4.2
  11. Hello, Here is a little sample program. - When the line "DDD════DDD" is added, the letters DDD remain well in Courier New, but the ════ text (characters alt 205) is in "Segoe UI Symbol". - And the same for the line "───────────" (characters alt 196). So the alignment is not uniform. Denis Unit1.pas Unit1.dfm
×