[jbosstools-issues] [JBoss JIRA] (JBIDE-11137) Selecting text using Left Arrow + Shift in VPE doesn't work

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Wed Apr 18 10:40:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12685316#comment-12685316 ] 

Denis Maliarevich commented on JBIDE-11137:
-------------------------------------------

Getting SourceSelectionRange returns wrong range:
{code:title=SelectionManager.java}
/**
	 * Draws selection rectangle in the Visual Part according to source selection.
	 */
	private void refreshVisualNodeSelection() {
		// checks for null, for case when we close editor and background
		// update job is running
		if (getSourceEditor().getTextViewer() == null) {
			return;
		}
		
		Point range = SelectionUtil.getSourceSelectionRange(getSourceEditor());
		if (range == null) {
			return;
		}
{code}
                
> Selecting text using Left Arrow + Shift in VPE doesn't work
> -----------------------------------------------------------
>
>                 Key: JBIDE-11137
>                 URL: https://issues.jboss.org/browse/JBIDE-11137
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>         Environment: Linux 32 bit, JBDS jbdevstudio-product-linux-gtk-5.0.0.v201203010100M-H88-Beta1
>            Reporter: Vlado Pakan
>            Assignee: Denis Maliarevich
>             Fix For: 3.3.0.Beta3
>
>
> 1. Create JSF 1.2 Kickstart project
> 2. Create new empty jsp page
> 3. Type some text as new page text
> 4. Try to select part of the text in VPE using Left Arrow + Shift longer than 1 character
> FAILURE: Not possible to select text longer than 1 character

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list