You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// If the selection contains any LF or CRLF sequences, which are immediately
/// followed by the same grapheme, then the subsequent one is removed. This is
/// to allow representing having the cursor over the end of the line.
But I can't think of any (String, Selection) pairs that can't be represented without having to delete a newline from the string. What pairs can't be represented?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
helix-core::test::print
sometimes deletes a newline from the string, as explained here:helix/helix-core/src/test.rs
Lines 15 to 17 in 8e041c9
But I can't think of any (
String
,Selection
) pairs that can't be represented without having to delete a newline from the string. What pairs can't be represented?Beta Was this translation helpful? Give feedback.
All reactions