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

Apply QBitArray to hide markdown symbols to allow nested markdown effects #184

Closed
AngryFender opened this issue Jul 2, 2024 · 1 comment
Assignees

Comments

@AngryFender
Copy link
Owner

No description provided.

@AngryFender AngryFender self-assigned this Jul 2, 2024
@AngryFender
Copy link
Owner Author

QBitArray implementation is nice and fast but currently it doesn't have a way to calculate the new position of the markdown elements. This is important for links and checkmarks so it can track mouse movements and presses.

AngryFender added a commit that referenced this issue Jul 4, 2024
…ls more efficiently compared to previously used offset tracking
AngryFender added a commit that referenced this issue Jul 4, 2024
…which is currently being proccessed for markdown
AngryFender added a commit that referenced this issue Jul 7, 2024
…o be shown so that one unicode checkbox isn't hidden by the mask
AngryFender added a commit that referenced this issue Jul 7, 2024
…ursor after user mouse presses on a rendered text. This offset tracking is different from previous one as it uses the new QBitArray mask
AngryFender added a commit that referenced this issue Jul 7, 2024
…x's and link's positions from their corresponding mouse clickable lists
AngryFender added a commit that referenced this issue Jul 7, 2024
…n rendered text block. Raw block is directly inserted from raw document and markdown is parsed while calculating the original cursor position in the block using the mask.
AngryFender added a commit that referenced this issue Jul 10, 2024
…he starting position of the title of the markdown link element
AngryFender added a commit that referenced this issue Jul 11, 2024
…r markdown rendered texts. This will be need for mouse hove and mouse click to open links or to set checkboxes
AngryFender added a commit that referenced this issue Jul 12, 2024
… support using QBitArray mask and offset tracking. The hiddenFormats now only tracks checkboxes and links. This update also changes how markdown is rendered. Now when markdown symbols are hidden, only the symbols are deleted, keeping the previous rendered markdown elements unchanged. There is no need for rerendering text with hidden markdown symbols anymore.
AngryFender added a commit that referenced this issue Jul 16, 2024
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

1 participant