Hello to everyone.
I write because I need an explaination about SCK.
In this period I'm quite absent due of life commitments, this means I
can work on Étoilé on train, so about 2 hours at day, the problem is I
have no internet connection, so reading documentation is a bit trivial.
I'm working/playing with SCK and CodeEditor, at this point I'm going to
add the code completion in it; the SCK API to use is:
- (SCKCodeCompletionResult*)completeAtLocation: (NSUInteger) location;
implemented in SCKClangSourceFile.m.
My doubt is raised up buy the "location" argument.
What does it means?
I thought it means the blinking cursor in the sourceFile, so the
actual position, but I'm not sure. I tried to get the offset looking on
what -collectDiagnostic does in the same file, printing that number and
then putting it as argument in -completeAtLocation, but the result of
the completion array, logged in the terminal is giant and full of things
like: "XK_ISO_Set_Margin_Left{}", "XK_ISO_Set_Margin_Right{}", so
something, at least, is happening.
If someone can explain me this thing, I can speed up the hacking phase
on the framework.
Thank you everyone.
Cheers,
Alex
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev