lamnguyen917 / interactive-text-hooker

Automatically exported from code.google.com/p/interactive-text-hooker
0 stars 0 forks source link

New text disappears when selecting previously grabbed text. #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Select text in the main window with left-click + drag. Do not release left 
mouse button.
2. The hook grabs more text in the currently selected thread (while still 
selecting text, left mouse button still down).
3. The beginning of the newly grabbed text disappears, leaving only the last x 
characters, where x is the number of characters you are selecting.

What is the expected output? What do you see instead?
For an example sentence:
いつの時代だって本当に大切な学問だし」
The hook I'm using grabs a character at a time. Suppose I am selecting 5 
characters somewhere in the ITH window when the example sentence is rendered. 
The first 5 characters いつの時代 will at first be correctly displayed. 
When the hook grabs the 6th character だ, the first い disappears, leaving 
つの時代だ. By the time all the characters are grabbed, all that's left is 
学問だし」.

What version of the product are you using? On what operating system?
3.0, Windows 7

Please provide any additional information below.
-The game I'm playing has pauses of varying lengths before rendering more text 
(longer than any reasonable split time parameter). Often in the middle of 
reading a line, the game will render a new line after a pause and I need to go 
into the ITH window and highlight/copy the last 2 or 3 lines. This bug happens 
when I'm in the middle of selecting the last few lines and the game starts 
rendering new text.

-The bug only occurs if you're in the middle of highlighting text (and haven't 
released the left mouse button yet).

-The bug occurs if you're selecting any text, and doesn't necessarily have to 
be text in the line currently being grabbed.

-I'm using a /HA hook.

Original issue reported on code.google.com by james.c...@gmail.com on 10 Oct 2014 at 6:49