Revision: a897346224a3 Branch: default Author: Brandon Roller <brandon.r.roller@xxxxxxxxx> Date: Thu Jul 31 19:17:22 2014 UTC Log: fixed bug with boxline not showing after last push http://code.google.com/p/brailleblaster/source/detail?r=a897346224a3 Modified: /src/main/org/brailleblaster/perspectives/braille/views/wp/TextView.java =======================================--- /src/main/org/brailleblaster/perspectives/braille/views/wp/TextView.java Thu Jul 31 18:54:23 2014 UTC +++ /src/main/org/brailleblaster/perspectives/braille/views/wp/TextView.java Thu Jul 31 19:17:22 2014 UTC
@@ -126,20 +126,14 @@ public void widgetSelected(SelectionEvent e) { selectionArray = view.getSelectionRanges(); - //Added this part for start and end of text selection - for (int i = 0; i < selectionArray.length-1; i++) { - startSelection=selectionArray[i]; - endSelection=selectionArray[i]+selectionArray[i+1]; - - - } - System.out.println(startSelection+" "+endSelection); if(selectionArray[1] > 0){ multiSelected=true; currentChar = ' '; if(currentChanges > 0) sendUpdate(); } + else + multiSelected = false; } });