Chromium Code Reviews

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartFunctionImpl.java

Issue 8817009: Preliminary support for dartdoc hovers. Future CLs will give us richer hover information and styl... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartFunctionImpl.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartFunctionImpl.java (revision 2130)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartFunctionImpl.java (working copy)
@@ -53,7 +53,7 @@
try {
DartElementInfo info = getElementInfo();
if (info instanceof DeclarationElementInfo) {
- return ((DeclarationElementInfo) info).getSourceRange();
+ return ((DeclarationElementInfo) info).getDartDocRange();
}
} catch (DartModelException exception) {
// Fall through to return null

Powered by Google App Engine