komsit37 / sublime-q

Sublime Text Plugin for q/kdb
MIT License
24 stars 9 forks source link

Results pane broken since Sublime build 4166 #38

Closed shuckc closed 9 months ago

shuckc commented 9 months ago

Since ST3 build 4166 query results no longer show in the results/build output box when pressing Cmd + Enter. The status bar correctly shows the shape of the results, and the query executes fine. Popup Cmd + e and phantom Cmd + Shift + Enter results panes still work OK. Release notes at https://www.sublimetext.com/download

image

In the sublime console this message is shown:

>>> 
init localhost:8885
init localhost:8885

break chain because output is none
atf1206 commented 9 months ago

panel.insert(edit, panel.size(), input)

seems to no longer be working. I am not sure why; it appears that

panel.run_command("append", {"characters": input})

will work instead. Opened a pull request -- I have not had the chance to look into this further, so maybe there is a better fix; hopefully this will at least save someone some time troubleshooting.

komsit37 commented 9 months ago

Thanks for the report and the fix! I have merged and released the fix in 1.4.0.