qurator-spk / neat

Named entity annotation tool
Apache License 2.0
27 stars 5 forks source link

support navigation by arrow keys in token-column #28

Closed snmnzl closed 4 years ago

snmnzl commented 4 years ago

First testing sessions show that in case of OCR-correction, nearly every line needs to be altered. Therefore, navigation to the line above or below (up/down) without clicking would be crucial, including #24 . Navigation within the string by left/right arrow key as in the current version is very helpful.

snmnzl commented 4 years ago

Additionally, would it be possible to lock the shown position for the selected line (meaning you can navigate through the 15 lines shown at a time, but the cursor stays in place in the middle of the scren, which would be the 7th line, while the lines move)?

cneud commented 4 years ago

Note to self: review http://dmauro.github.io/Keypress/ for this (thx @kba)

cneud commented 4 years ago

added in ede687065e08b58ae9d6dbca601788560545ad63

snmnzl commented 4 years ago

Thank you for the adjustment - combined with #24, this is really helpful. The navigation, however, only works within the string (left-right), not over the lines. Would this be possible aswell?

labusch commented 4 years ago

Can you provide an example file where this problem appears?

snmnzl commented 4 years ago

Nevermind, the navigation does indeed work - our mistake!

labusch commented 4 years ago

Ok, I pushed some little patch to make the edit area resizable again such that editing of longer tokens is more comfortable.