topics in otl
What is the best way to detect end of text in a topic ,any ideas , end of
text in a topic does not seem to be reliable.???
An otl file is a regular text file that has
= V4 Outline MultiLine NoSorting TabWidth=30
as the first line of the file. If you add this to a text file, no matter
what the extension, NoteTab will see an otl.
Each topic is set off by
If you search for the H=" and go up a line or back 3 characters, you
will have the end of the topic.
There are a couple of ways to handle this. The file could be read into
memory and processed looking for the H=". Or you could make a copy of
the file without the first line and act on it via a clip(s) in NoteTab.
Or you could build a clip to go from topic to topic and highlight the
whole topic with a select all and then go to the end of the selection.
It all depends on what you are trying to do.
Sales Affiliate for Grisoft Anti-Virus
> What is the best way to detect end of text in a topic ,any ideas , end of
> text in a topic does not seem to be reliable.???
> THANKYOU DAVE