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
I have some code snippet from work (I will mail it to you, can you give me your email? - don't want to put it publicly), where after the formatting point appears to end up several lines over from where it started. It is on the same point, that is (point) before and after returns the same, but it is in completely different context. Or am I misunderstanding and it only tries to preserve (point)? Because in typescript, it works as expected, the cursor stays in the same context even when text above is reformatted.
I think the alignment algorithm gets confused, because both before and after the cursor ends up in the token sku_row[5], only they are several lines apart.
The sample is about 50 lines long.
The text was updated successfully, but these errors were encountered:
Sure, feel free to send it over at contact+apheleia@radian.codes. It's somewhat known to me that sometimes the alignment algorithm doesn't work great, see #2 for example (but I've since seen worse). It's something I'd like to fix in the future, although at the moment I am focusing new development on a different project.
I don't think I did, sorry 😢 I found the file and even the referenced line, but can't reproduce it now, it grew a bit so there is now about 200 lines of code.
I have some code snippet from work (I will mail it to you, can you give me your email? - don't want to put it publicly), where after the formatting point appears to end up several lines over from where it started. It is on the same point, that is
(point)
before and after returns the same, but it is in completely different context. Or am I misunderstanding and it only tries to preserve(point)
? Because in typescript, it works as expected, the cursor stays in the same context even when text above is reformatted.I think the alignment algorithm gets confused, because both before and after the cursor ends up in the token
sku_row[5]
, only they are several lines apart.The sample is about 50 lines long.
The text was updated successfully, but these errors were encountered: