|
From: <caw...@us...> - 2007-02-23 19:19:47
|
Revision: 2019
http://svn.sourceforge.net/rubyeclipse/?rev=2019&view=rev
Author: cawilliams
Date: 2007-02-23 11:19:38 -0800 (Fri, 23 Feb 2007)
Log Message:
-----------
fix empty task markers (to have a quick description)
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultOccurrencesFinder.java
trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/search/RubySearchPage.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultOccurrencesFinder.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultOccurrencesFinder.java 2007-02-23 19:15:24 UTC (rev 2018)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultOccurrencesFinder.java 2007-02-23 19:19:38 UTC (rev 2019)
@@ -253,11 +253,7 @@
// Find the search space
Node searchSpace = FirstPrecursorNodeLocator.Instance().findFirstPrecursor(root, orig.getPosition().getStartOffset(), new INodeAcceptor() {
public boolean doesAccept(Node node) {
- return ((node instanceof DefnNode) || (node instanceof DefsNode) /*
- * TODO:
- * Block
- * Body?
- */);
+ return ((node instanceof DefnNode) || (node instanceof DefsNode) ); // TODO: Block Body?
}
});
@@ -302,11 +298,7 @@
// Find the search space
Node searchSpace = FirstPrecursorNodeLocator.Instance().findFirstPrecursor(root, orig.getPosition().getStartOffset(), new INodeAcceptor() {
public boolean doesAccept(Node node) {
- return ((node instanceof DefnNode) || (node instanceof DefsNode) /*
- * TODO:
- * Block
- * Body?
- */);
+ return ((node instanceof DefnNode) || (node instanceof DefsNode) ); // TODO: Block Body?
}
});
Modified: trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java 2007-02-23 19:15:24 UTC (rev 2018)
+++ trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java 2007-02-23 19:19:38 UTC (rev 2019)
@@ -275,7 +275,7 @@
try {
System.setProperty(DEBUGGER_ACTIVE_KEY, "true");
- // TODO
+ // TODO Update threads?
//getDebugTarget().updateThreads();
RdtDebugCorePlugin.debug("Waiting for breakpoints.");
while (true) {
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java 2007-02-23 19:15:24 UTC (rev 2018)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java 2007-02-23 19:19:38 UTC (rev 2019)
@@ -248,7 +248,7 @@
}
}
catch (IOException e) {
- // TODO
+ RubyPlugin.log(e);
}
}
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/search/RubySearchPage.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/search/RubySearchPage.java 2007-02-23 19:15:24 UTC (rev 2018)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/search/RubySearchPage.java 2007-02-23 19:19:38 UTC (rev 2019)
@@ -103,7 +103,7 @@
settings.put("scope", scope); //$NON-NLS-1$
settings.put("pattern", pattern); //$NON-NLS-1$
settings.put("limitTo", limitTo); //$NON-NLS-1$
- // TODO
+ // TODO set "rubyElement"
// settings.put("rubyElement", rubyElement != null ?
// rubyElement.getHandleIdentifier() : ""); //$NON-NLS-1$
// //$NON-NLS-2$
@@ -146,7 +146,7 @@
int scope = settings.getInt("scope"); //$NON-NLS-1$
int limitTo = settings.getInt("limitTo"); //$NON-NLS-1$
boolean isCaseSensitive = settings.getBoolean("isCaseSensitive"); //$NON-NLS-1$
- // TODO
+ // TODO Get "rubyElement" setting
IRubyElement elem = null; // settings.get("rubyElement") ;
return new SearchPatternData(searchFor, limitTo, pattern, isCaseSensitive, scope,
workingSets);
@@ -391,7 +391,7 @@
// Pattern text + info
Label label = new Label(result, SWT.LEFT);
- // TODO
+ // TODO Use translated string
label.setText("Expression"); //$NON-NLS-1$
// label.setText(SearchMessages.SearchPage_expression_label);
label.setLayoutData(new GridData(GridData.FILL, GridData.FILL, false, false, 2, 1));
@@ -419,11 +419,12 @@
// Ignore case checkbox
fCaseSensitive = new Button(result, SWT.CHECK);
- // TODO
+ // TODO Use translated string
fCaseSensitive.setText("CaseSensitive"); //$NON-NLS-1$
fCaseSensitive.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
+ // TODO Care about case sensitivity option
// fIsCaseSensitive = fCaseSensitive.getSelection();
}
});
@@ -435,7 +436,7 @@
// private boolean isValidSearchPattern() {
// if (getPattern().length() == 0) { return false; }
- // // TODO
+ // // TODO Validate search patterns
// return true;
// // return SearchPattern.createPattern(getPattern(), getSearchFor(),
// // getLimitTo(), SearchPattern.R_EXACT_MATCH) != null;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|