Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.51k stars 173 forks source link

Please consider adding printing support #5398

Closed ags1234 closed 8 months ago

ags1234 commented 9 months ago

Using CudaText 1.206.0.0, win32-i386-win32, fpc 3.2.3. Cuda is missing the function to print documents (and preview pages before printing) , implemented as a core functionality, not a plugin. It is important to be able to easily print documents, without relying on other editors to do so.

MiroslavMatas commented 8 months ago

please consider to use printing via Export to HTML… maybe will be enough not an answer to your request, but that export cover many features on that way for me

ildarkhasanshin commented 8 months ago

in sublimetext

think the same principle should be implemented in cudatext too if possible

MiroslavMatas commented 8 months ago

three steps… export to temp based html - available (user must start this command manually - Export to HTML) open created html - available (need confirmation) open print dialog at browser - (user must to run Print…)

do we really need to macro/plugin for that?

https://github.com/Alexey-T/CudaText/assets/42316770/5cbd2a59-3349-4819-b6b5-6da916652af7

ildarkhasanshin commented 8 months ago

do we really need to macro/plugin for that?

1 imho necessary for the average user

2 there is no export to html item in the file-menu only through the list of commands

3 in sublimetext - built-in in webstorm - built-in in vscode - through extension

ags1234 commented 8 months ago

Notepad++ - built-in print function accessible with two clicks EmEditor - built-in print function accessible with two clicks RJ TextEd - built-in print function accessible with two clicks

In my opinion having a print function (with preview) is an absolute normality in an editor. You must be able to easily print the text you have been working on.

Alexey-T commented 8 months ago

sorry, i think printing is not needed. in Cud. workaround. call cmd-palette item 'export to html'.