SayMing / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 forks source link

Double-click selection of a word overlapping the right screen border doesn't work #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Type a very long line so that it doesn't fit on the screen and try to 
select the last partially visible word (overlapping the screen) by double-
clicking on it: it doesn't work.

For example: 
- type:
"This is a very long line for testing the selection of word partially 
outside of the screen by double-click on left mouse button"
- position the cursor at begin of line (see jsyntaxpane1.png screenshot)
- double-click on the word "mouse" (actually only "mou" should be visible 
on screen)
- the whitespace just after "mouse" is selected instead of "mouse" (see 
jsyntaxpane2.png screenshot)

Program: JSyntaxPane Tester
Version: revision r111 of branch r095
OS: Window XP Pro.

Original issue reported on code.google.com by david.e...@gmail.com on 14 Apr 2009 at 12:39

Attachments:

GoogleCodeExporter commented 9 years ago
I did recreate, but this might be a Java, not a Project issue.

I'll keep you updated.

Original comment by ayman.al...@gmail.com on 16 Apr 2009 at 5:40

GoogleCodeExporter commented 9 years ago
I created a plain JFrame with a plain JEditorKit, no JSyntaxPane is created, 
and the
same issue occurs.  It's probably a Java issue.  I'm using Sun JDK 1.6_12 on XP.

So, this is not a JSyntaxPane issue.

Original comment by ayman.al...@gmail.com on 22 Apr 2009 at 6:20

GoogleCodeExporter commented 9 years ago
Could not recreate again with JDK 1.6.0u20.

Original comment by ayman.al...@gmail.com on 9 Jul 2010 at 2:42

GoogleCodeExporter commented 9 years ago
I still can reproduce the problem using JDK 1.6.0u21.

After having typed the long text, it will now be automatically wrapped in 2 
lines, so you first have to merge these 2 lines, by positioning the cursor on 
the start of the second line and press backspace, before trying to reproduce 
the problem.

Original comment by david.e...@gmail.com on 12 Jul 2010 at 1:54