Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteicher2004-03-03 14:59:09 +0000
committerteicher2004-03-03 14:59:09 +0000
commite3a697b932213a7f72790da0bc7f11da5796c9e1 (patch)
tree08a6f782cf60b3e19e3656c47b7325ce4785fdef /org.eclipse.ui.workbench.texteditor
parent97e57831f92d884eaac83909dfa7791ce39ea377 (diff)
downloadeclipse.platform.text-e3a697b932213a7f72790da0bc7f11da5796c9e1.tar.gz
eclipse.platform.text-e3a697b932213a7f72790da0bc7f11da5796c9e1.tar.xz
eclipse.platform.text-e3a697b932213a7f72790da0bc7f11da5796c9e1.zip
added todo for unneeded (?) legacy code
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor')
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateProposal.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateProposal.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateProposal.java
index 26864525aa1..0dd790e0f5a 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateProposal.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateProposal.java
@@ -96,6 +96,7 @@ public class TemplateProposal implements ICompletionProposal, ICompletionProposa
try {
IDocument document= viewer.getDocument();
+ // TODO do we need this position?
Position position= new Position(fRegion.getOffset(), fRegion.getLength());
final String category= "__template_position_" + System.currentTimeMillis(); //$NON-NLS-1$
IPositionUpdater updater= new DefaultPositionUpdater(category);

Back to the top