Search found 54 matches
- Tue Apr 15, 2008 8:32 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
Sorry to bother you again but I met a text where I can't use your code. Looks like that: Item[0] = 'LETHAL WEAPON 4.' IsFromNewLine = True Item[1] = 'Riggs, are you ...' IsFromNewLine = True I insert a character in first item Now it's like this: Item[0] = 'LETHAL' IsFromNewLine = True Item[1] = char...
- Tue Apr 15, 2008 3:59 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
- Tue Apr 15, 2008 8:21 am
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
- Sat Apr 12, 2008 10:24 am
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
- Tue Apr 08, 2008 5:02 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
- Tue Apr 08, 2008 2:46 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
If I do that: ScaleRichView.RichviewEdit.LoadTextW(FileName, 0, 0, False); ScaleRichView.RichviewEdit.Format; Then it works ok. But If I do this: Stream := TFileStream.Create(FileName, fmOpenRead); SetLength(s, Stream.Size); Stream.ReadBuffer(PChar(s)^, Stream.Size); ScaleRichView.RichviewEdit.AddTe...
- Mon Apr 07, 2008 2:41 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
Yes, I do that but it's not working...
I see that in editor http://www.imagehosting.gr/show.php/974 ... e.PNG.html
PS: I checked again the code that extracts the lines from text: works 100% fine.
The text should begin like that: "LETHAL WEAPON 4.#13#10Riggs,...".
I see that in editor http://www.imagehosting.gr/show.php/974 ... e.PNG.html
PS: I checked again the code that extracts the lines from text: works 100% fine.
The text should begin like that: "LETHAL WEAPON 4.#13#10Riggs,...".
- Sun Apr 06, 2008 8:44 am
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
- Sat Apr 05, 2008 12:26 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48973
loading a Unicode file line by line
Hi. I have a question. I'm loading a UTF8 Unicode into a string array like this: I load the entire text into a string then from the third character to the end I split in lines (at #13#0#10#0). After I make some modifications to the lines I want to load them to RichViewEdit then save all the text as ...