Re: Resetting Tabs
- From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Mon, 2 Jun 2008 17:12:02 -0500
Bob Keeney wrote:
Is there a suggested sequence of clearing the tabs and re-adding
them on the fly?
Based on the code presented in your previous emails, what you were
doing was fine. The only suggestion I have is to not call
fullUpdate (now called updateFull) because that can be a very
expensive call to make since it recomposes the entire document.
The bigger the document the more noticeable the time delay will be
to complete the update. It is better to call "update(true, true)"
instead since it will only recompose paragraphs that have been
changed.
Remember, there are two level of tabs which include default and
paragraph specific. The default tab stops are set up in the
control and they are used when there no paragraph specific tab
stops. If you insert tab stops into a paragraph, the default tab
stops are ignored for that paragraph. If you delete all the
paragraph tab stops, the default tab stops come back into play. So
you need to account for this in your tab control.
FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in
the subject field.
- References:
- Re: Resetting Tabs
- From: Brendan Murphy
- Re: Resetting Tabs
- From: Bob Keeney
Other related posts:
- » Resetting Tabs
- » Re: Resetting Tabs
- » Re: Resetting Tabs
- » Re: Resetting Tabs
- » Re: Resetting Tabs
- Re: Resetting Tabs
- From: Brendan Murphy
- Re: Resetting Tabs
- From: Bob Keeney