[duxhelp] Re: DBT 10.5 doesn't close a previously open style when applying a new style.

  • From: "Peter Sullivan" <peter@xxxxxxxxxx>
  • To: <duxhelp@xxxxxxxxxxxxx>
  • Date: Mon, 9 Aug 2004 13:52:09 -0400

Dave,

Unfortunately, I'm not sure that I can make any sense of the message.

Even so, I'm not sure that it matters.  We've recently fixed several major
problems dealing with clipboard operations (so that style pairings are
maintained) and with Alt-Arrow use (to avoid a situation that caused file
corruption).  So I suggest trying this again with the next revision.

For all on the list, I'm now building what I believe will be posted as beta
5 tomorrow.  I didn't want to have a beta 5, but rather wanted to call this
"release candidate 1".  However, the online help is in progress for another
week, so I know that what we post tomorrow won't be released itself.  But
the code part of it should be.

- Peter 

-----Original Message-----
From: duxhelp-bounce@xxxxxxxxxxxxx [mailto:duxhelp-bounce@xxxxxxxxxxxxx] On
Behalf Of Dave Durber
Sent: Sunday, August 08, 2004 4:13 PM
To: duxhelp@xxxxxxxxxxxxx
Subject: [duxhelp] DBT 10.5 doesn't close a previously open style when
applying a new style.

Hello Peter:

I think that I have found a potentially serious bug that is in DBT 10.5.

This morning I was working on a file that I had imported from WordPerfect 8.
Although, it could have been any file that I happened to be editing at the
time.

I used a number of heading and paragraph styles at the top of the file.

The problem arose when I was using the list style to surround a block of
text that I wanted to be treated as a list of items.  Each item terminated
with a [<] code.

I placed the cursor on the first character of the block of listed items.  I
then went through the normal steps to select and apply the list style.  This
obviously placed the beginning and ending style codes around the first item
in the list.  As I wanted to include more items in the list style, I placed
the cursor on the first character of the end list style code and pressed the
key combination <SHIFT+RIGHT
ARROW> in order to select the code.  I then copied the code to the
windows clipboard with the key combination <CTRL+C>, so that I could paste
the code manually following the last item in the list when I got to it.  I
pressed the <DELETE> key to erase the end list code and followed that by
pressing the <ENTER> key to insert a hard return at the end of the first
item in the list.

The problem was that I forgot to paste the end style code after the last
item in the list, therefore leaving it open.

Following the list was a heading to which I applied a heading 1 style.

I then pressed the <UP ARROW> key to make sure that DBT had placed the end
list style at the end of the list.  To my amazement, it had not.
The list style remained open.  So, obviously, I then pasted the end style
list code manually with the key combination <CTRL+v> which terminated to
open list style.

In versions of DBT up to and including 10.4, where a user, had for example,
opened a list style by typing the open list style code [es~list.] but did
not terminate the list by typing the end list code [ee~list.] instead
leaving the list style open.

Just say, for example, that the next line of text was a heading and the user
highlighted the line of text and the user selected and applied a heading
style to the selected block of text, DBT would automatically place the
[ee~list.] to show that the style had been correctly terminated.  DBT,
however, would not remove the [l] or [<] codes terminated the last item in
the list.  Either the [l] or [<] would have to be deleted manually.

I hope that this message makes sense to you.  If it doesn't, I dare say you
will be writing back for any clarification that you need.

Sincerely:

Dave Durber
* * *
* This message is via list duxhelp at freelists.org.
* To unsubscribe, send a blank message with
*   unsubscribe
* as the subject to <duxhelp-request@xxxxxxxxxxxxx>. You may also
* subscribe, unsubscribe, and set vacation mode and other subscription
* options by visiting http://www.freelists.org.  The list archive
* is also located there.
* Duxbury Systems' web site is http://www.duxburysystems.com
* * *

* * *
* This message is via list duxhelp at freelists.org.
* To unsubscribe, send a blank message with
*   unsubscribe
* as the subject to <duxhelp-request@xxxxxxxxxxxxx>. You may also
* subscribe, unsubscribe, and set vacation mode and other subscription
* options by visiting http://www.freelists.org.  The list archive
* is also located there.
* Duxbury Systems' web site is http://www.duxburysystems.com
* * *

Other related posts: