[Github-comments] [geany/geany-plugins] [Split Window]: can't save a document in the second window when first and second window don't show the same document (#1084)

elextr notifications at xxxxx
Sat Jun 19 00:44:22 UTC 2021


Although some editing functions work in it (mostly Scintilla functions that relate to the editing widget), the split window plugin is only intended as a read-only view.  

Unfortunately a lot of Geany functionality relates to the "current document" which is the one in the Geany base editing widget, thats how it was written when nobody had any idea that another window existed since Geany doesn't know anything about what plugins do.  And so a plugin can't be current document as there is no way of providing that information to Geany and the functionality in Geany (like save) can't operate on the second window.

Alternative smart implementations have been tried over time, but performance or other problems have always caused them to fail.

If would be a significant re-write to modify core to handle more than one editing widget, and unless "somebody" is able to provide sufficient effort sadly its unlikely to happen.

Closing as duplicate of #576 #577 #600 #602 #770 #833 and probably others.

Also split window is not in this repository.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1084#issuecomment-864331868
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210618/4c9595ab/attachment.htm>


More information about the Github-comments mailing list