23

Is there anyway I can have text with strikethrough style in notepad++? I use notepad++ for my to-do lists, and being able to assign strikethrough to the highlighted text (especially if it could be on a keyboard shortcut) would be very useful.

[edit] Just to clarify - I realise that strikethrough is formatted text, and not that of a text editor. My query was more if there was something (a plugin maybe) that did some kind of markup which it rendered as strikethrough. I'm guessing not, but worth asking.

2
  • 5
    I believe you are looking for a word processor, not a text editor.
    – Phoshi
    Sep 22, 2010 at 9:07
  • 1
    @Phoshi Was more just wondering if with all the notepad++ plugins, if there was something that embedded some markup which handled this. I realise that strikethrough is formatted text, not standard text.
    – Dan
    Sep 22, 2010 at 9:11

11 Answers 11

21

I'm also seeking a solution for this problem (using Strikethrough for a to-do list). I couldn't find a plugin and I think creating one would be the best way to go.

As a work-around until that happens, what I'm doing is setting the language of my to-do list (a .txt file) to the "Properties" language. Then, when I'm done with that task, I put a '#' in front of it to make a comment (which color-codes the line as green and you can customize the color). Not as good as a strike-through but it gets the job done.

3
  • Thanks. Good soln. until we get a strike though plugin for notepad++
    – goldenmean
    Feb 28, 2013 at 15:37
  • 1
    I made this comment a year ago, and I don't use notepad++ for to-do lists anymore. I use OneNote, and you can add "To-do" tags by pressing "Ctrl+1" (which makes a checkbox for you). A webapp is available, as well as a mobile app. Just another option to consider.
    – Atif
    Mar 1, 2013 at 1:41
  • 4
    Great suggestion, and I used this method to actually create strikethroughs, as follows: Edit the style of the Properties language by going to Settings > Style Configurator. Now, in 'Font Style', change the default font to a Strikethrough font. I used 'BPtypewriteStrikethrough' which I found here: 1001fonts.com/strikethrough-fonts.html (once-off install). Personally, I opted to change the green font to gray, which is less distracting. Mar 2, 2014 at 15:44
9

You could right click on the line and use one of the marking styles (Using 1st Style, etc.). That won't do strikethrough, but it will highlight the line in a background you can choose by selecting which style and configure the styles in Settings > Style Configurator.

2

If you don't have option to strikethrough your style, you can set style to use some strikethroug font. This should be easy to find and download.

2

I know this is like a year+ later, but there is a feature in Notepad++ to "Hide Lines" just highlight and right click. Then at the bottom of the menu, there is a Hide Lines feature which Hides a specified line and then can be clicked to be reopened. Also, On the left side next to the line number you can click on the line number and it will put a blue circle which can act as a checkbox.

1

Style it with colors for now as

enter image description here

or you can also put breakpoints like this

but if you want to send that document to someone then I will prefer @Atif's answer "put a prefix like #"

2
  • 2
    Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Aug 30, 2022 at 6:10
  • Used this one as the closest thing to differentiate plain text when strikethrough isn't working.
    – Jon Grah
    Jan 23 at 19:20
0

Notepad++ has LED markers for each line, basically a blue light that you can turn off and on (click on the grey bar to the left of your text and immediately to the right of the line number)

Use this to indicate when a job is done perhaps?

1
  • 1
    They are called bookmarks. The problem is if you ever close the file, they are lost. Nov 27, 2011 at 7:32
0

I searched for what you need (and I need too) but with no luck. But I figured something else. You can use Gui4Cli as a language in the Notepad++. You can choose it from the language menu.
This will leave the text as it is in the normal text format, but you will be able to use // and /* */ to comment the finished tasks and mark them as green.

2
  • @MátéJuhász No, it is not! My answer is not included in any previous answers! Can you give the link of the repeated answer? Moreover, my solution is better than the highlighting solution in the previous answer. If you highlighted a word, all the other words with the same spelling will be highlighted too. Feb 12, 2017 at 19:33
  • Why there is -1 vote? Mar 10, 2017 at 16:08
0

I didn't find strike through feature within notepad++ plugins.But I press CTRL+T which makes the line go up and then I select all the lines together, right click and select some style which separate the specific lines from other. This is useful for a list of work and divide it in done and undone work lists.

0

I don't have a programmatical way (yet) but this webpage has a way to generate strikethrough text that can be copied and pasted into UTF-8 notepad etc. https://fsymbols.com/generators/strikethrough/

1
  • I have copied this into UTF-8 notepad++ default settings (Courier New) and I can confirm it does NOT work. s̶t̶r̶i̶k̶e̶t̶h̶r̶o̶u̶g̶h̶ will show as s-t-r-i-k-e-t-h-r-o-u-g-h- . EmEditor seems to make this strikethrough method work though, as does Notepad.exe also. So i didn't downvote.
    – Jon Grah
    Jan 23 at 19:20
0

There's no way to do strikethrough in notepad++. What I do to mark a task as finished is putting an x before and after the word, it sounds simple but it visually works for me. Example:

  • bread
  • xtomatoesx
  • lettuce
  • xmustardx
-4

To do Strikethrough in a notepad,highlight particular text that you want to strikethrough, then press "CTRL" & "T" :-)

1
  • 9
    I tried this in notepad, nothing happened. Also tried this in notepad++ version 6.8.6 and all that did was swap the line above with the line your currently standing on.
    – Mogget
    Nov 25, 2015 at 5:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .