|
From: <caw...@us...> - 2007-01-22 23:58:43
|
Revision: 1852
http://svn.sourceforge.net/rubyeclipse/?rev=1852&view=rev
Author: cawilliams
Date: 2007-01-22 15:58:42 -0800 (Mon, 22 Jan 2007)
Log Message:
-----------
pipes ('|') are a word boundary
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/RubyWordFinder.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/RubyWordFinder.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/RubyWordFinder.java 2007-01-22 21:41:36 UTC (rev 1851)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/RubyWordFinder.java 2007-01-22 23:58:42 UTC (rev 1852)
@@ -21,7 +21,7 @@
* are what break up the tokens for double-clicking and for hovers.
*/
private static final char[] BOUNDARIES = { ' ', '\n', '\t', '\r', '.', '(', ')', '{', '}', '[',
- ']', '=', '*', '+', '-', '"', '\'', '#', ','};
+ ']', '=', '*', '+', '-', '"', '\'', '#', ',', '|'};
public static IRegion findWord(IDocument document, int offset) {
int start = -1;
int end = -1;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|