-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
left/right arrow behavior inconsistent with "Cursor beyond end of line" #1801
Comments
i think it's intuitive behaviour. |
|
do you really *have* to be different than any other editor in use out there? |
i see that you copied that behavior from FAR, so it makes you different from every other editor BUT ONE. wow. what a remarkable precedent of braindamage ... |
You may switch off this behaviour:
profit? |
no profit. you entirely missed the point.
|
profit? :)
and need fix trouble with 'over_col' you are right... |
sorry guys, are you a bit dense? do you understand what the patch does? |
i'm so sorry, but i have not watched a patch, a lot of work on the my works... after the deadline, i see what's that. |
|
|
fixed in #2094 |
no, not fixed. you still don't seem to understand what this is all about. |
Ossi, why you think, what cursor must wrap into the next line? Is this normal behavior? I think, current behavior very usefull for future feature 'drawing lines and boxes' (like it does good old MiltiEdit for DOS).
May be, need to add option info ini-file for change this behavior?... What you think? |
Typo-fix:
Sorry. |
Ossi: Ops, big sorry :) Now I fully understand about you say. |
it's really not defect... |
well, it is a low-impact usability defect. but call it what you will. :) |
i am used to the current behavior, and it seems to me convenient. what you propose is very uncomfortable for me, but it is convenient for you... why do I want the option... probably to find a compromise... |
well, obviously you trained yourself so far that you can deal with it. one can get used to about everything, after all ... |
|
andrew_b, should we get this in? I'm not sure how other editors handle this in virtual space mode, but if everybody other than FAR behave this way, maybe it's a good idea. |
Please do not apply that patch, this broke customary behavior, like a FAR.
--- |
there is nothing "logical" about it. to convince someone, you need to make a coherent argument in favor of your expectations. my argument is consistency - both internal (symmetry in this case) and external (with most other editors that are out there). if you want compatibility with the obvious outlier you can have it, but the onus would be on you to implement said option to enable FAR-compatible behavior (and i'd argue that it should be a hidden one, as "littering" the UI with such mostly useless stuff degrades UX for the average user). but i for one would suggest the opposite route of pushing FAR to change its behavior (optionally, if they insist). |
try ANY text exitors? Notepad++, gedit, faredit, DosNavigator editor, and many (not vim). |
i just tried gedit, and quite unsurprisingly it doesn't do what you claim (it doesn't do cursor beyond and of line in the first place, and the UI contains no related options). |
No, we talk about 0001-don-t-allow-cursor-to-wrap-at-BOL-in-cursor_beyond_e.patch, about that patch broke intuitive behavior of cursor on BOL.
cursor beyond and of line: borland editors (on turbo Vision), ms word (double click on any place), far editor |
look, i've used all of these, and far is still the only one which behaves the way mcedit does. that you seem to think otherwise indicates that you still (or again) don't understand what this patch is about. that's ... frustrating. |
|
|
Replying to ossi:
This patch do not allow move cursor on end of previous line, if cursor_beyond_eol is true, correct? |
a correct and unambiguous way to write it would be "This patch prevents the cursor from wrapping from the beginning of a line to the end of the previous line if, and only if, cursor_beyond_eol is true". if that's what you meant, then yes, correct.
if you still think that this is bad, you need to make a coherent argument why asymmetrical/inconsistent behavior (violating the principle of least astonishment) is preferable.
the last point brings us to precedents. name editors (with version number, in case the behavior changed) that wrap on left-arrow while operating in virtual whitespace mode. exclude ones that have a separate option for it, unless the "wrap-at-bol but not-wrap-at-eol" combination is the default. |
i'm do not see any correlations between 'cursor_beyond_eol' options and restriction to move cursor on previous line after left key pressed. |
then you aren't looking very hard. it's rather intuitive that if right-key cannot change the line, then left-key shouldn't either. the keys are expected to behave symmetrically, that is, they undo each other's effect - when you overshoot your target, you can just navigate back by using the opposite key. in practical terms that means that overshooting must not be possible if the exact opposite operation isn't available. |
just switch off cursor_beyond_eol or use crtl-right key to return. why not? |
Replying to angel_il:
that's the opposite of what i want.
because i shouldn't have to in the first place. consistency is one of the basic concepts in UX, and trumps any possible marginal efficiency gain that you (and probably close to no-one else) gets out of actively exploiting the asymmetry. |
but why do you want to fix it for yourself and break it for all?
why should i feel pain?
make option 'stop_cursor_on_BOL'. |
you are insisting that while right-wrapping requires using ctrl-right, left-wrapping requiring ctrl-left instead of just left is unacceptable, and would cause you pain. |
I do not have any requirements for you. You and me do anything for opensource JUST FOR FUN. |
Replying to angel_il:
you are making it a requirement when you make inclusion of my patch conditional on it.
actually, no, i'm not doing it for fun, but to make my life easier.
no, they don't, and repeating that misinformation doesn't make it any truer. the benchmark are editors operating in C-B-EOL mode, which enable it with a single switch (or don't even have other modes).
most editors don't even have C-B-EOL mode - gedit, jedit, xedit, jed, nano, libreoffice writer, in-browser textedits - not one of them (as far as my testing/rtfming goes). that makes them completely irrelevant to the discussion.
in vim you can enable wrap mode with :set whichwrap=<,>,[,] and C-B-EOL mode with :set virtualedit=all - and when you do both at the same time, it actually starts to behave like mcedit. that something is not quite right with that combination is evidenced by the fact that some of whichwrap's settings lose meaning, while others remain effective.
according to my recollection, the dos-based borland IDEs qualify - and behave the way my patch does. |
xedit!? are you joke?!
but AndroidStudio, IntelliJ, VisualStudio, Borland IDE (ctrl+click), far - like mcedit. |
about dos-based ide-s i think you right, i try DN, it similar as your patch behaviour. |
"Good old" flamewars in tickets :(
This is wrong, IntelliJ-based editors don't allow wrapping to the previous line in the virtual space mode. Just checked it myself in PyCharm.
FWIW, I'm +1 on the patch. |
Important
This issue was migrated from Trac:
ossi
(@ossilator)enabling "Cursor beyond end of line" stops the right-arrow from wrapping into the next line. however, the left-arrow continues to wrap to the previous line. this feels highly unnatural and often causes "navigation challenges". so enabling this option should make the left-arrow stop at the beginning of the line.
Note
Original attachments:
ossi
(@ossilator) onOct 14, 2020 at 12:01 UTC
The text was updated successfully, but these errors were encountered: