Recent

Author Topic: Something kind of funny about TMemo's  (Read 1645 times)

jamie

  • Hero Member
  • *****
  • Posts: 6964
Re: Something kind of funny about TMemo's
« Reply #15 on: May 04, 2025, 08:55:59 pm »
Did you really expect you just going to download the demo and it make it work without actually creating the component installing it?
The only true wisdom is knowing you know nothing

d2010

  • Full Member
  • ***
  • Posts: 172
Re: Something kind of funny about TMemo's
« Reply #16 on: May 04, 2025, 09:56:17 pm »
Did you really expect you just going to download the demo and it make it work without actually creating the component installing it?
Can you show here, one demo, all component already installed .Please, please some  kind of sample demo with SynEdit .
if if You do not make 100 % already installed, the You  give me a list of LCL names, I will search LCL names directly inside "ProjectInspector".
 Thank you.



OC DelGuy

  • Full Member
  • ***
  • Posts: 208
  • 123
Re: Something kind of funny about TMemo's
« Reply #17 on: May 07, 2025, 07:49:17 am »
Hi
Quote
Your link points to TStrings.Text.  That, I did not try as I don't know how TStrings work.  I'm barely learning the TStringList.
No worries mate, they're the same property, namely the strings in the list, concatenated together with 'LineEnding'(LF/CRLF) as delimiter/separator, to 1 long string.
I'd like to think, that 'Grammarly' doesn't care about CRLF...
...but if it does, the use my solution, only with a 'TMemoryStream' instead, 'cause e.g.: TMemo can easily load from stream.
Regards Benny

Well, I didn't think so either, but somehow it produced something not so Grammar(ly):D correct when it was in little strings.  I don't know, but that's what got me on this "one string" trip!
Free Pascal Lazarus Version #: 2.2.4
Date: 24 SEP 2022
FPC Version: 3.2.2
Revision: Lazarus_2_2_4
x86_64-win64-win32/win64

 

TinyPortal © 2005-2018