This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 60547 - clicking on selected text does not unselect the text
Summary: clicking on selected text does not unselect the text
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 60631 60687 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-27 19:48 UTC by athompson
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2005-06-27 19:48:13 UTC
jdk 1.5
linux
daily 26 june 2005

if text is selected in the editor, clicking on text outside of the selected area
properly unselects the text, but a single click inside the selected text does
not unselect the text, which it should. this probably has to do with the
newly-added drag and drop support.
Comment 1 Milan Kubec 2005-06-28 13:38:33 UTC
Very anoying behavior BTW. Even clicking once outside of selected text doesn't
remove the selection.
Comment 2 Martin Roskanin 2005-06-28 13:42:42 UTC
we will fix it to NB 4.2
Comment 3 Martin Roskanin 2005-06-28 15:13:41 UTC
fixed in [maintrunk]

/cvs/editor/libsrc/org/netbeans/editor/BaseCaret.java,v  <--  BaseCaret.java
new revision: 1.115; previous revision: 1.114
Comment 4 Jan Lahoda 2005-06-29 16:27:26 UTC
*** Issue 60631 has been marked as a duplicate of this issue. ***
Comment 5 Martin Roskanin 2005-07-01 08:39:07 UTC
*** Issue 60687 has been marked as a duplicate of this issue. ***
Comment 6 athompson 2005-07-01 17:36:52 UTC
while the text is now unselected when you click inside the text, the cursor
position is still incorrect. it should be moved to the clicked position.
Comment 7 Martin Roskanin 2005-07-11 13:30:14 UTC
thanks for finding that. 

fixed in [maintrunk]

/cvs/editor/libsrc/org/netbeans/editor/BaseCaret.java,v  <--  BaseCaret.java
new revision: 1.116; previous revision: 1.115
Comment 8 athompson 2007-10-09 15:47:46 UTC
yup