Wednesday, September 13, 2006

grabbing text selection

hello everyone,
before everyone forgets about Sniper, i played a little bit more with eclipse and swt api. You can see the result in the following snapshot:

what you should care about:
  1. the consolle in the development workbench shows the text selected in the default text editor (i still have to figure out how to use it on every kind of text editor),
  2. the first page of the prototype wizard now has a text area (read-only for the moment, it can be easily turned to a r/w area) showing some text: this is where we could show to the brave developer the code he's going to publish somewhere on the web...
what you should not care:
  1. the text area doesn't show the selected text: i haven't found a clean way to pass that parameter to the wizard page. Also, I fear we may face some problems related to the lazy-loading mechanism built-in in Eclipse to load every widget of a component ( I tried a dirty workaround..didn't work)
now...go coding everyone else!

0 Comments:

Post a Comment

<< Home