Open mprinc opened 6 years ago
I think some characters got lost in above, but I see the issue @mprinc means. The behavior is different from TextEdit when it comes to adjusting the selection.
After expand selection to end of text:
Thanks.
Well, I would say that on other editors it is consistent:
This is true for typora for the 2nd case but fails for the 1st case
I have version 0.9.9.17.4 and the issue is still there.
It makes me very unproductive with the keyboard, which is the whole point of a text editor. It's infuriating that sometimes it makes me rage quit Typora and use another editor like VisualStudio Code. It's uglier but "it just works" âšī¸
@abnerlee Please fix this đ
I came across same problem today, I changed the theme from github
to quartz-milky
.
When I position the cursor at the heading, pressing shift+command+left will select all text before cursor.
After I commented out theses lines of css code of theme quartz-milky
, typora works well, selection bug disappears.
Hope this can help to locate the bug.
############
Append something:
h1::before,
h2::before,
h3::before {
font-weight: 400;
text-align: right;
width: 5ch;
padding-right: 1ch;
margin-left: -5ch;
color: var(--accent-color);
/*display: inline-block;*/
}
h1::before {
content: '#';
}
inline-block won't put a line-break after the element, this was the cause. typora select should take the raw content into consideration, also the rendered one, it's difficult? rendering result maybe different.
####### change css display property, using following instead, it works:
h1::before,
h2::before,
h3::before {
font-weight: 400;
/*text-align: right;*/
/*width: 5ch;*/
/*padding-right: 1ch;*/
/*margin-left: -5ch;*/
color: var(--accent-color);
/*display: inline-block;*/
position: absolute;
right: calc(100% + 10px);
}
Right/left arrow keys are very buggy in RTL texts.
For example, if the cursor is at the end or beginning of a line, then you become stuck, and right and left arrow keys simply move you up then down endlessly.
This issue is pretty important, because the application is a text editor, and many of us have deeply-ingrained muscle memory for editing text with the keyboard. Typora repeatedly punishes that muscle memory, which is an unpleasant experience. It is literally the only application I use that has this nonstandard cursor behavior.
This is still an issue as of version 0.9.9.35.2 (4715). I really like Typora, but this bug makes me consider switching to another editor. Would love to see it fixed.
Specific reproduction steps:
Given text: abc def ghi
d
and e
charactersshift
+cmd
ef ghi
cmd
key, but continue holding the shift
keyExpected result: ef gh
should be highlighted
Actual result: def ghi
is highlighted
Version 0.11.5 (5648), and this is still an issue.
I can confirm it still happens on v1.0.5. The issue has 4 years already. Now that Typora is out of alpha and I paid for it, it stings a little more everytime I face this issue đ Please consider fixing it @abnerlee. You might feel like it's an irrelevant bug but I assure you, this breaks the writting flow -- and no one wants that in a text editor.
Let us know if we can help in any way đ
Yeah. Basic text editing bug open for 4 years = I'm no longer using Typora.
Please @abnerlee, don't forget about this issue đĸ
The issue still exists even in the latest v1.6.6 version. So disappointing.
Hi,
I have a nasty problem with keyboard navigation
let say this is a text: `hello this is a text'
<right-arrow-key>
to reach the most right (behind thetext
) - should be selectedis a text
(correct)<left-arrow-key>
to move one word before the end - should be selectedis a
(including endingI have a lot of trouble with this, need to use character-level navigation instead of word-level, or destroying selections, mistakes, , ..