psemiletov / tea-qt

TEA text editor
https://tea.ourproject.org
GNU General Public License v3.0
89 stars 13 forks source link

Printing and previewing in browser on Windows 10 #30

Open surferjoeit opened 4 years ago

surferjoeit commented 4 years ago

Hello, i tried the editor and it works fine except for printing and previewing in browser features. When i click on the menu items nothing happens. Thanks

psemiletov commented 4 years ago

The "Preview in browser" is deprecated (and removed at the current master branch), better use "Run" menu, just add some items there via File - Configs - Programs. As for the printing, I'll test it. Thank you!

surferjoeit commented 4 years ago

Thanks, i'll also tried to run some software with Run menu, but no luck. Maybe it's my fault, but I tried with several different syntaxes, no software seems to run. Thanks again!

psemiletov commented 4 years ago

Did you try something like "firefox file:///%s"?

psemiletov commented 4 years ago

I.e. ff=firefox file:///%s konqueror=konqueror %s

Also, this not work with unsaved file, the file must be saved first, exist on the disk.

surferjoeit commented 4 years ago

Hello, thanks for the hints, i manage to open file within the browser. Previously I just used %s, without "file:///", that's why it didn't work. The only bug then seems to be the printing functionality.