Aerilius / sketchup-console-plus

A better Ruby Console and IDE for integrated development in SketchUp.
MIT License
42 stars 16 forks source link

Documentation search not working? #35

Open thomthom opened 2 years ago

thomthom commented 2 years ago

I'm not sure if I'm using this correctly or not. The readme says:

Open online documentation for the currently focused word

Does focused here mean "selected"? Or where the cursor is placed in the text editor?

I tried to step through the code and it appear that getCurrentTokens return and empty array. That in itself returns early after the first call to getCorrectedCurrentToken. position yields 0,0 regardless of where the text caret is located in the editor.