Difference in 8.4/8.5 text widget - Bug or Feature



I've just noticed a difference in the behaviour between the 8.4 and 8.5
versions of the text widget.

The following code shows the "issue":-

#==(Start of example code)==#
text .t \
-height 10 \
-width 40 \
-wrap word \
-tabs {0.5c 1c 1.5c 2c 2.5c 3.0c 3.5c 4.0c 4.5c 5.0c 5.5c 6.0c}

pack .t

# Say I want to indent to the 6th tab...

set indent "[expr {6 * 0.5}]c"

..t tag configure indented -lmargin1 $indent -lmargin2 $indent

..t insert end "LEFT TEXT"
..t insert end "\t\t\t\t\t\tThis is some text which should be wrapped to
an indent" indented
#==(End of example code)==#

When using 8.5 (tclkit), the text begining "This is some text..." is
displaced to the right when compared to 8.4. Obviously I prefer the
8.4 version because my existing code works fine!!

Is this a bug or a "feature?"

Many Thanks,
=Adrian=

.



Relevant Pages

  • Bullets formatting
    ... Aren't bullets supposed to automatically continue and indent as you type and ... tab within the list? ... Is this a feature that got dropped in 2003, ... Prev by Date: ...
    (microsoft.public.word.docmanagement)
  • Re: sort msgs by conversation?
    ... indent feature too, as I used this in Outlook Express extensively. ... > Unfortunately threading by reference and threading by conversation is not ... I use a custom arrangement to group threads for mailing ...
    (microsoft.public.mac.office.entourage)
  • Re: Work Breakdown Structure (WBS)
    ... Excel also has in indent and outdent feature via buttons on the Formatting ... > Project has an indent and out-dent feature that makes creation quite easy. ...
    (microsoft.public.excel.misc)
  • Re: 100th footnote completely messes up doc page break
    ... I cannot believe that this is a "feature", ... It's a bug. ... indentations is a document layout error [do you hear me ... It seems the paragraph indent is set to twice the ...
    (comp.text.tex)
  • Re: 100th footnote completely messes up doc page break
    ... I cannot believe that this is a "feature", ... It's a bug. ... footnotes are indented enough to make room for the footnote mark ... It seems the paragraph indent is set to twice the ...
    (comp.text.tex)