]
Viacheslav Kabanovich resolved JBIDE-6086.
------------------------------------------
Resolution: Done
JBoss Tools XML Editor does not select position of marker if is set
other than with charStart/charEnd attributes
----------------------------------------------------------------------------------------------------------------
Key: JBIDE-6086
URL:
https://jira.jboss.org/jira/browse/JBIDE-6086
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.1.0.GA
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 3.2.next
XML validation framework sets position in marker with attributes 'columnNumber',
'lineNumber'. Text editor's gotoMarker method handles correctly this case, but
our tabbed editor enforces a check for 'charStart' attribute and if it is missing
does not invoke the text editor.
One more case for the issue is that when marker link is processed, text tab is not
forced, as the result, when Tree tab is initially active in the editor, during manual
switch to Text tab, text selection is overriden by current tree selection, which may be
different from marker's selection (for many reasons, not necessarily bugs). The only
consistent way to handle marker link is 1) switch to Text tab; 2) set text selection; 3)
find component in tree on manual return to Tree tab.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: