Page 2 of 2
Posted: Sun Mar 21, 2010 8:02 pm
by Sergey Tkachenko
I still suggest to check: may be, using the commands of menu "File", you save and load readme.rvf from another directory, not from the directory of the "Editor 1" demo. I recently made this mistake myself when testing this demo.
As for "Editor 2" demo, I can explain why it cannot load readme.rvf of "Editor 1" demo. This file (readme.rvf) is special. It was saved without the collection of text and paragraph styles. So it can be loaded correctly only in RichView having the same styles as the RichView what saved it. I.e. you can load it in "Editor 1" demo, not in "Editor 2".
However, if you save this file in "Editor 1" demo, it will be saved with all necessary styles. After that you will be able to open it in the "Editor 2" demo.
Yes, there is still a preoblem with Editor 1
Posted: Sun Mar 21, 2010 8:47 pm
by Nostradamus
I have checked the folder for save and load and you were right it was different.
But that being so and I have saved and loaded from the same folder now where Editor1 (Unicode demo) is, the same problem of truncating files and opening file errors persists.
kind regards
The load error message happens for both normal and unicode..
Posted: Sun Mar 21, 2010 8:59 pm
by Nostradamus
There are two Editor 1 projects
one is normal non-unicode demos tree
the other is in the delphi unicode demos tree
BOTH these projects display the same error on loading the readme.rvf file in their corresponding directory.
Something I noticed...
Posted: Sun Mar 21, 2010 9:07 pm
by Nostradamus
If I attempt to save and load 'plain' text in an rvf file with non-unicode Editor 1 project exe everything works OK. For both saving and loading.
It seems to be a problem with the "a2" hypertext in the original readme.rvf
but I could be wrong.
Posted: Mon Mar 22, 2010 2:34 pm
by Sergey Tkachenko
Answered in email.
Something else I noticed...
Posted: Tue Mar 23, 2010 5:55 am
by Nostradamus
Both Editor 1 projects (unicode and non-unicode) do not run on my XP Pro computer.
However both the Unicode and Non-Unicode Editor 1 projects do run OK on VISTA.
Posted: Tue Mar 23, 2010 1:45 pm
by Sergey Tkachenko
I tested your saved files, and I can see that some text was saved incorrectly. However, I cannot reproduce it on my computer (WinXP).
Details are sent by email.
Posted: Sat Mar 27, 2010 4:11 pm
by Sergey Tkachenko
The problem was in converting characters of Symbol font (SYMBOL_CHARSET) to Unicode when the system code page is Chinese.
It is fixed, fix will be available in the next update.
One more question .. how to delete saved bookmarks ?
Posted: Sun May 09, 2010 12:20 am
by Nostradamus
When I go into menu 'Misc' >>> 'Goto Checkpoint' a 'List' window opens
displaying current checkpoints.
How do I add a button to delete checkpoints I no longer want ?
What code do I need to add to the 'delete' button ?
kind regards
Posted: Sun May 09, 2010 5:32 pm
by Sergey Tkachenko
Code: Select all
RichViewEdit1.RemoveCheckpointEd(
RichViewEdit1.GetCheckpointItemNo(
RichViewEdit1.GetCheckpointByNo(Lst.ItemIndex)));
However, this list of checkpoints is incomplete. It includes only checkpoints in the main document, not in table cells.
If you want to know how to make a complete list, let me know.
Posted: Tue May 11, 2010 7:08 am
by Nostradamus
not in table cells.
If you want to know how to make a complete list, let me know.
I think I need to know everything there is to know about this.
thanks....