evilbinary / jota-text-editor

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

Line numbering does not respect wrapping #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Activate line numbering and line wrapping
2. Type text long enough to trigger a line wrap
3. Or open a file with borh options on
4. Or paste text that needs tp be wrapped.

What is the expected output? What do you see instead?
Every real line should have a number as it would be in an unwrapped file. 
Instead every visible line is counted. Turning the tablet or phone around 
changes the numbering, making it quite useless.

What version of the product are you using? On what operating system?
0.2.06 on Android 2.2, 2.3 using different devices.

Please provide any additional information below.
It's not a recent thing, it always behaved like that.

Original issue reported on code.google.com by sascha.s...@gmail.com on 17 Feb 2012 at 7:34

GoogleCodeExporter commented 9 years ago
Jota's line number feature counts only phisical line.
To show logical line numbers, Jota needs to count all '\n' in the text.
This is not scalable.

Original comment by jiro.a...@gmail.com on 18 Feb 2012 at 8:09