1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-15 20:25:46 +02:00
cdt/core
Oleg Krasilnikov 86d252bd88 Bug 141973: Bad cursor position after auto-completion
The line in DOMCompletionContributor.handleVariable() :
    proposal.setCursorPosition(repString.length() - 1);
seems to be copied from previous method handleFunction().
It's reasonable for function (put cursor INSIDE brackets
after function name), but useless for variable (it has
no trailing brackets, so cursor will stop 1 symbol left
from the end on variable name).

So mentioned line is removed: default cursor position
(set inside of CCompletionProposal constructor) is OK.

          Oleg Krasilnikov <oleg.krasilnikov@intel.com>
2006-06-05 13:42:58 +00:00
..
org.eclipse.cdt.core Applied John C's patch to fix 143502 which addresses a hang when C++ code is parsed by the C parser. 2006-06-03 14:11:59 +00:00
org.eclipse.cdt.core.aix Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.linux Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.linux.ia64 Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.linux.ppc Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.linux.x86 Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.linux.x86_64 Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.macosx Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.qnx Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.solaris Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.core.tests Applied John C's patch to fix 143502 which addresses a hang when C++ code is parsed by the C parser. 2006-06-03 14:11:59 +00:00
org.eclipse.cdt.core.win32 Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.ui Bug 141973: Bad cursor position after auto-completion 2006-06-05 13:42:58 +00:00
org.eclipse.cdt.ui.tests Bug 141819 - Fix providers for some of the plugins. 2006-05-24 18:54:05 +00:00