Closed istvanrath closed 12 years ago
Pay attention for pattern unregistration as it influences the opening mechanism.
@CMark or @ujhelyiz Can you help me out with this issue; add "show location" functionality to pattern registry, just like it works now with the explorer? I want to know how to set a selection for the XText based pattern editor.
I think it has everything you need. You should probably elevate that code if it's possible and not copy-paste it.
@abelhegedus It has the desired functionality, you have implemented it with the commit mentioned above.
Actually, @ujhelyiz implemented the selection setting in the editor, I only prepared the proper editor and left an ugly sysout for him :D
Sorry, I don't understand what is the question here. :D The Show location handler referenced above provides a Command handler that selects a pattern in an Xtext editor. The same command should be added to the package registry, and then it should work (as far as I see).