Sep-25-2023, 11:14 AM
hi
I wanted to draw a line in notpad++, so I searched Google for it.
in address: https://sourceforge.net/p/notepad-plus/d.../a0308d54/
has been written that
and said that the below code must be used:
thanks
I wanted to draw a line in notpad++, so I searched Google for it.
in address: https://sourceforge.net/p/notepad-plus/d.../a0308d54/
has been written that
Quote:Or you could install the python script plug-in and use this bit of python:
and said that the below code must be used:
##### ## Draw a dashed line ##### # First we'll start an undo action, then Ctrl-Z will undo the actions of the whole script editor.beginUndoAction() dash='-' width=80 print dash*width ## Finished. # End the undo action, so Ctrl-Z will undo the above two actions editor.endUndoAction() # Turn the undo recorder back on. editor.setUndoCollection(1)I have Python script in notepad++ on my PC(it is in the plugin tab in the notepad++). how can I use the above code in notpad++?
thanks