Plugin Idea
-
Hey everyone, I have an idea for a plugin: to merge multiple lines of text into one line of text, as a spoiler almost. I am not a C++/C# or visual basic coder, I just code in cmd/batch so I can’t make it myself. The general idea is to save a lot of space and easily open it up. You can give it a title, maybe even a description. I linked a few photos that I made in ms paint of how I would expect it to look like, one collapsed, expanded, previewed, and creating a spoiler:
Spoiler Images
Thanks! -
it is not that easy because npp is a text editor and it handles the text like it is.
What you want needs to add some additional format tags which need to be saved somewhere
but obviously not in the text file itself.So, in theory, a plugin must not only know how to manipulate the document in that way but also
has to know which document has been formatted with some spoiler text already,
in order to make it happen on reload again. So it must store the status for that document.
But what happens if someone outside changes the document?? You see, not that easy.Cheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login