Search found 54 matches

by Cosmin3
Tue Jul 22, 2008 3:50 pm
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 59151

Yes, I'm using the latest version. The problem is not from my code - I just now tried with ActionTest Demo. I wrote "Misspelledtext" in a new line at the beginning in readme.rvf, I saved and then I closed the application. I opened it again; "Misspelledtext" is not underlined. Onl...
by Cosmin3
Fri Jul 18, 2008 9:52 am
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 59151

A problem with InvalidateDrawItem. It's a RichViewEdit function, I know, but I think the problem may be connected with ScaleRichView also. When I use it in a separate thread it doesn't always repaint the item (Spacing parameter is 3). But if I use Spacing 1000 (!) it works. This happens sometimes on...
by Cosmin3
Tue Jul 15, 2008 9:45 am
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 59151

Sorry for the delayed reply; my internet connection was down for almost 2 days. The text file is not a rvf; it's a rtf. It's created with WordXP and modified with Wordpad. It's easy to make one. But if you stil want me to send you the file, I will send it... Here is a link to a screen capture with b...
by Cosmin3
Sun Jul 13, 2008 9:24 am
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 59151

I have 2 suggestions for a future version: 1. Ability to underline tab items as well; 2. In RVData.GetItem(ItemNo).WordPaintList to be able to set underline color for each item. I mention this because I use underline not just for spelling and I want, for example, to underline in the same time words ...
by Cosmin3
Sat Jul 05, 2008 7:37 am
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 59151

I intend to make a separate thread in which the text from ScaleRichView will be scanned and some strings underlined.
Are there any special precautions I should take with ScaleRichView/RichViewEdit or I can make a standard thread?
by Cosmin3
Tue Jul 01, 2008 6:33 pm
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 59151

Thank you.
by Cosmin3
Tue Jul 01, 2008 3:25 pm
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 59151

string underlined like in spelling

Hi. I want to use some of the spelling code so I can underline some strings in ScaleRichView. This strings can contain any character. I can't use the code as it is because: 1. It has to work for any "delimiters". 2. The spelling is not using Unicode. I just want to find the (wide)strings i...
by Cosmin3
Sun May 18, 2008 12:32 pm
Forum: Support
Topic: resynchronizing
Replies: 8
Views: 19750

I have implemented checkpoints and it works fine. Thank you very much for your help. Just 2 things: 1. I noticed that you can find checkpoints inserted as bookmarks in Word but you can't use their CheckpointData to find, for example, item number. The code gives error "Invalide CheckpointData&qu...
by Cosmin3
Sat May 17, 2008 12:19 pm
Forum: Support
Topic: resynchronizing
Replies: 8
Views: 19750

The method InsertCheckpoint inserts the checkpoint at the caret position. If it is in the middle of the item, the item will be splitted. So you say that when i scan the text I have to move the caret to each problem? Isn't this slow (especially on ScaleRichView which in slow)? Plus I have to scan ag...
by Cosmin3
Sat May 17, 2008 11:22 am
Forum: Support
Topic: resynchronizing
Replies: 8
Views: 19750

It's a good idea. Thank you. Just a problem: checkpoints are associated with items not with a specific position inside items. So if there are several problems in a text item how can I assign a checkpoint to each of them? Let's say that I will use SetCheckpointInfo to add a invisible checkpoint to a ...
by Cosmin3
Sat May 17, 2008 9:58 am
Forum: Support
Topic: resynchronizing
Replies: 8
Views: 19750

For example: I scan the text and if I found this "It's a beautifull day ;!" then I place a line in listbox saying "Line 3 Col 20: you must remove ';' character". It's just an example - the messages in my language are more sofisticated.. The user may start fixing the text or may s...
by Cosmin3
Thu May 15, 2008 5:20 pm
Forum: Support
Topic: resynchronizing
Replies: 8
Views: 19750

resynchronizing

Hi. In my application I scan the text (from ScaleRichView) and then I write in a listbox a few lines that look like this: "Line x Col y: Some problem". Each line in listbox is associated with a TPoint in which x is ItemNo and y is Offs (in item). When the user double clicks on that line in...
by Cosmin3
Fri Apr 18, 2008 5:45 pm
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 48991

I'm not so good of explaining in English but if you want I will show you my code...
by Cosmin3
Wed Apr 16, 2008 7:38 am
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 48991

It's not 100% necessary but I used it to avoid adding a #13#10 at the end. It can be removed if you want and set first cycle to ItemCount - 1.

Later edit: I have solved the problem. Thank you for all your patience...
by Cosmin3
Wed Apr 16, 2008 6:22 am
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 48991

I don't understand why a text line is loosing NewLine at the end by inserting a character in it. But visual in ScalRichView is still a text line. And I said that this is happenning on all items (lines) not only at the first. The problem is that I load also subtitles: text is loaded in ScaleRichView ...