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

Navigation, priority, control, html,comment update #267

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

pattontim
Copy link

@pattontim pattontim commented Dec 18, 2022

Add comment registry hooks and some hooks and methods associated with navigation, priority and HTML.

Co-authored-by: kpence kpence@tamu.edu

Co-authored-by: kpence <kpence@tamu.edu>
@pattontim
Copy link
Author

Pending comments on the more dubious changes

Copy link
Author

@pattontim pattontim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First observations

NativeMethod.Database_AppendComment.ExecuteOnMainThread(
databasePtr,
elementId,
new DelphiUTF16String(comment));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is using Natives like this to insert data safe?

[FieldOffset(60)]
/* 0x3C */ public byte unknownbyte18;
/* 0x36 */ public byte unknownbyte16;
[FieldOffset(55)]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any extensions access these?

{
return Core.Natives.Contents.FindText(
ContentsPtr.Read<IntPtr>(),
"test");
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hard to implement? It's not 100% necessary.

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

Successfully merging this pull request may close these issues.

None yet

1 participant