T.R | Title | User | Personal Name | Date | Lines |
---|
825.1 | | ORPHAN::WINALSKI | Paul S. Winalski | Wed May 24 1989 02:11 | 6 |
| Using global select cut/paste on SText widgets seems to give me lots of
unwanted underlining of text in random places. I wish there were a way to
get rid of that bug.
--PSW
|
825.2 | Still there from BL8 (V1!) | DECWIN::KLEIN | | Wed May 24 1989 10:57 | 8 |
| >>Using global select cut/paste on SText widgets seems to give me lots of
>>unwanted underlining of text in random places. I wish there were a way to
>>get rid of that bug.
Me too.
-steve-
|
825.3 | But I _WANT_ to underline text! | 29067::K_TICE | Ada...Keeping the world safe for bureaucracy! | Thu May 25 1989 10:57 | 4 |
| Yes, but can I underline certain text ON PURPOSE?
Ken
|
825.4 | | BIG::SCHOTT | | Fri Jun 30 1989 12:49 | 6 |
| Do you want to underline text or select it? It seems to me that in some
applications, dragging mb1 to select some text from within a text widget
causes it to either be blackened or underlined. This visually indicates
what letters/words are selected. Try using DwtSTextSetSelection to underline
a portion of the text.
|
825.5 | Nope, NOT select text, but... | CSC32::K_TICE | Ada...Keeping the world safe for bureaucracy! | Thu Jul 06 1989 10:49 | 19 |
| Thanks for the reply!
No, I do not want to select text, I merely want to visually highlight
certain portions of text such that it has no other affect.
I am beginning to suspect that this is not possible in a simple text
widget since changing the font in an SText widget cahnges the font for
the _entire_ widget!
OK, so it does not have to be an SText widget. How do I underline at
all??? How do they do underlining in a DECterm, for example???
...still confused!
Ken
CSC/CS
|
825.6 | In DECterm it's just a line | HANNAH::MESSENGER | Bob Messenger | Tue Jul 11 1989 02:38 | 11 |
| Re: .5
> How do they do underlining in a DECterm, for example???
With XDrawLine. The y position for the line has to be offset by the
character's ascent (poosibly plus a pixel or two). Of course DECterm is
writing to its own window; to do it the same way you'd have to write your
own widget or use the window widget.
-- Bob
|