Hello,

Just been playing with the SWTBotText and noticed that the caret doesn't
move when setting the text. I was looking at the code and expected the call
to notify (with keyDown and keyUp) to be recieved by the underlying text box
and for it to update itself but the notifyKeyboardEvent actually sets it
with setText. Bit confused about how it should work here, as when I enable
logging I don't see anything happening in AbstractSWTBot.notify method, as
if the notify isn't actually being received by any listeners?! I might be a
bit muddled here so should the caret be moved when setting the text in a
text box?

I was trying to implement a select all thing where the entire contents of
the box are selected. Seems like SWT wont allow me to do use Ctrl + A so I
was trying to simulate it with a Shift + END thing.

Thanks :D

-- 
Toby
------------------------------------------------------------------------------
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to