|
From: David C. <dc...@us...> - 2005-12-24 02:59:46
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/core/builder In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6518/src/org/rubypeople/rdt/internal/core/builder Modified Files: TC_IndexUpdater.java Log Message: Changed IndexUpdater so a method's location is based on it's name, not then entire "def to end" 'block'. Index: TC_IndexUpdater.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/core/builder/TC_IndexUpdater.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TC_IndexUpdater.java 24 Dec 2005 01:43:07 -0000 1.8 --- TC_IndexUpdater.java 24 Dec 2005 02:59:36 -0000 1.9 *************** *** 118,122 **** updater.update(file,node, false); ! symbolIndex.assertAdded(new MethodSymbol("method"), file, createPosition(0, 1, 0, 14)); } --- 118,122 ---- updater.update(file,node, false); ! symbolIndex.assertAdded(new MethodSymbol("method"), file, createPosition(0, 0, 4, 10)); } *************** *** 126,130 **** updater.update(file,node, false); ! symbolIndex.assertAdded(new MethodSymbol("Foo::method"), file, createPosition(1, 2, 10, 24)); } --- 126,130 ---- updater.update(file,node, false); ! symbolIndex.assertAdded(new MethodSymbol("Foo::method"), file, createPosition(1, 1, 14, 20)); } |