Skip to content
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

[CDE] Changing the cursor position calculation. Affects the parameters of the **Range** object #1225

Open
askonev opened this issue Oct 8, 2024 · 1 comment
Assignees

Comments

@askonev
Copy link
Member

askonev commented Oct 8, 2024

Not only the symbol counts for the position

  • symbol
  • parafield_char
  • parafield_insrtText
  • paraDrawing - Drawing added to the paragraph
  • paracomment - added to the comment paragraph
@askonev
Copy link
Member Author

askonev commented Oct 8, 2024

example:

The cursor is in the same place

image
image

However, in the first case, the range is [0.4]

In the second case, the range is [0.5] since there are two Run objects in the paragraph

Warning: Even an empty object will increase the range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants