Another text widget question
From: Derek Fountain (nomail_at_hursley.ibm.com)
Date: 12/11/03
- Next message: Derek Fountain: "Re: Inserting text with a given tag"
- Previous message: Bryan Oakley: "Re: Inserting text with a given tag"
- Next in thread: Roy Terry: "Re: Another text widget question"
- Reply: Roy Terry: "Re: Another text widget question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Dec 2003 12:10:44 +0800
I'm somewhat baffled by the text widget's wrap handling.
I have a couple of paragraphs which I want to insert into a text widget. If
I insert one long line, with no newlines embedded in it, the "-wrap word"
option makes things look pretty and the margins work as I want. But the
cursor handling doesn't work properly. Pressing down arrow makes the cursor
jump down to the next paragraph. The only way to use the keyboard to
navigate to the centre of my paragraph seems to be to lean on the right
arrow key for a while and wait for the cursor to move its way into the
text.
If I embed \n chars in my text, the arrow keys work as expected, but now the
word wrapping doesn't work properly. The lines really do end where the
newlines are. Adding text which makes a line go off the left side of the
window causes the end word to wrap onto a line on itself.
All this makes sense from a programmer's point of view, and is at least
predictable, but it makes for crap usability in either case! What am I
doing wrong?
- Next message: Derek Fountain: "Re: Inserting text with a given tag"
- Previous message: Bryan Oakley: "Re: Inserting text with a given tag"
- Next in thread: Roy Terry: "Re: Another text widget question"
- Reply: Roy Terry: "Re: Another text widget question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|