Mercurial > projects > dwt-addons
diff dwtx/jface/text/DefaultTextDoubleClickStrategy.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 25f1f92fa3df |
children | 284c2e810329 |
line wrap: on
line diff
--- a/dwtx/jface/text/DefaultTextDoubleClickStrategy.d Wed Aug 27 14:49:30 2008 +0200 +++ b/dwtx/jface/text/DefaultTextDoubleClickStrategy.d Mon Sep 08 00:51:37 2008 +0200 @@ -321,7 +321,7 @@ * Creates a new default text double click strategy. */ public this() { - super(); +// super(); } /* @@ -343,8 +343,7 @@ fDocIter.setDocument(document, line); - UBreakIterator breakIter= UBreakIterator.getWordInstance(); - breakIter.setText(fDocIter); + UBreakIterator breakIter= UBreakIterator.openWordIterator( ULocale.Default, fDocIter ); int start= breakIter.preceding(position); if (start is UBreakIterator.DONE)