Highlight After Auto-Correct [message #1039277] |
Fri, 12 April 2013 01:28 |
Mike Johnson Messages: 9 Registered: April 2013 |
Junior Member |
|
|
I'm overriding a keyword function to create a new proposal provider with the goal of providing content assist to a new terminal, which works fine (using acceptor.accept(createProposal etc. etc.)). But the Xtext API isn't really descriptive - I can't find a class/method that does the last step in emulating Eclipse's auto-fill/content assist feature. Does anyone know how to do the auto-highlight-edit feature that Eclipse does for everything it auto-completes? Just simply overriding the function with a new string provides options when CTRL + SPACE is pressed, but - after selecting an option - it just fills in the desired string with the cursor following it. No highlight, ready to edit feature like Eclipse does when it auto-completes something with a default value, then highlights it for immediate edit.
I didn't include code because I thought it was a simple enough explanation of what I'm trying to accomplish, and I don't have any idea of what code accomplishes what I'd like anyways.
[Updated on: Fri, 12 April 2013 01:31] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01706 seconds