jacobslusser / ScintillaNET

A Windows Forms control, wrapper, and bindings for the Scintilla text editor.
MIT License
963 stars 243 forks source link

Scintilla footer with cursor position and other file properties like NotePad++ #509

Closed abc983ft closed 3 years ago

abc983ft commented 3 years ago

Is there any built in property to Scintilla that we can enable to get a similar footer to NotePad++ with the cursor position and other useful info?

If there is no such built in method, are there any demo apps that show how to do this in ScintillaNET?

image

VPKSoft commented 3 years ago

The Scintilla control itself doesn't provide a StatusStrip. Starting from this here are calculations for the required locations, etc... for the Scintilla control. To detect the encoding I have used the UTF Unknown class library. For the new "line delimiter", i.e. \n\r, Wikipedia.

abc983ft commented 3 years ago

thank you very much!