-
Notifications
You must be signed in to change notification settings - Fork 22
Navigation, priority, control, html,comment update #267
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
base: develop
Are you sure you want to change the base?
Conversation
Co-authored-by: kpence <[email protected]>
Pending comments on the more dubious changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First observations
src/Core/SuperMemoAssistant.Core/SuperMemo/Common/Elements/ElementRegistryBase.cs
Show resolved
Hide resolved
NativeMethod.Database_AppendComment.ExecuteOnMainThread( | ||
databasePtr, | ||
elementId, | ||
new DelphiUTF16String(comment)); |
There was a problem hiding this comment.
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)] |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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.
Add comment registry hooks and some hooks and methods associated with navigation, priority and HTML.
Co-authored-by: kpence [email protected]