Strikethrough (or strikeout) is a typographic text decoration used to indicate cancelled words or sentences. A strikethrough consists of a horizontal line crossing text through the center.
Questions tagged [strikethrough]
183 questions
11
votes
3 answers
Is it possible to display text in a console with a strike-through effect?
I have already looked into ANSI escape codes, but it looks like only underlining is supported.
Do I miss something or is there another option?
If it is not possible, is there something equivalent in the meaning of "this is deprecated"?
![](../../users/profiles/297776.webp)
soc
- 27,310
- 18
- 99
- 209
9
votes
6 answers
Adding strikethrough to NSAttributedString in iOS 11 with Swift
Having some issues getting strikethrough to work. Currently I'm doing the following:
theString.addAttributes([
NSAttributedStringKey.strikethroughStyle: NSUnderlineStyle.styleSingle.rawValue,
…
![](../../users/profiles/9248335.webp)
eskimo
- 301
- 3
- 10
8
votes
4 answers
How to clear line-through for an element in a table row?
I'm having trouble "clearing" a line-through that I'm using on a table row. I don't want the line-through effect on the link. I'm changing the tr class dynamically with Javascript so I would like to keep it as simple as possible.
My current…
![](../../users/profiles/725587.webp)
frapser
- 83
- 1
- 1
- 3
8
votes
1 answer
emacs console mode Org-mode strike-through is not displayed as expected
I'm using org-mode. Using '+' around a text, it displays correctly in the GUI as strike-through text (example: +striked-through+).
But this doesn't work in the emacs console mode, the text is not displayed striked-through: there are no difference…
![](../../users/profiles/458681.webp)
vaab
- 8,740
- 4
- 49
- 56
7
votes
3 answers
Firebug CSS strike-through
I've made an global css that I used in two page (basic search and advance search page). I use it in advance search page, and the css script is running well. But when I move to basic search page (by click a link), the css not working. I used firebug…
![](../../users/profiles/1040934.webp)
Praditha
- 1,092
- 5
- 24
- 42
7
votes
6 answers
NSMutableAttributedString's attribute NSStrikethroughStyleAttributeName doesn't work correctly in iOS8
I have a mutable attributed string without NSStrikethroughStyleAttributeName attribute like this:
NSMutableAttributedString *str1 = [[NSMutableAttributedString alloc] initWithString:@"aaaa" attributes:@{NSStrikethroughStyleAttributeName:[NSNumber…
![](../../users/profiles/3804891.webp)
Richard
- 73
- 1
- 3
7
votes
2 answers
SUMIF not strikethrough
Is is possible with Google Sheets to calculate the fields (currency) and ignore all fields that have had a strikethrough applied?
![](../../users/profiles/2005707.webp)
Cybercampbell
- 2,358
- 10
- 44
- 75
6
votes
2 answers
Best way to set a strikethrough on individual cells of the WPF DataGrid?
What is the best (easy) way to set the font to a strikethrough style on individual cells of the WPF DataGrid?
...
Options that I'm aware of are inserting TextBlock controls in individual cells or using a DataGridTemplateColumn - and using the…
![](../../users/profiles/632292.webp)
SDK
- 790
- 11
- 24
5
votes
2 answers
Mac OS X: strikethrough the text in a label (NSTextField)
Is it possible to strikethrough the text in a label (NSTextField)?
I have tried to use the Font Panel, but apparently these are ignored when I try to set them:
![](../../users/profiles/575400.webp)
Dev
- 7,041
- 6
- 33
- 63
5
votes
5 answers
How to change a link's line-through / strikethrough color?
I have a link that has a strikethrough. I want to make the strikethrough lighter so the link text is easier to read, but can't figure out how to do it.
Here's what I want it to look like (using an inner span instead of a link because it comes out…
![](../../users/profiles/70057.webp)
kareem
- 670
- 9
- 19
5
votes
2 answers
Partial cell(or string) match in excel macro
I am new to VBA and I would like to do a partial string (or cell) match between two sheets.
An example of Name1 would be "IT executive Sally Lim"
An example of Name2 would be "Sally Lim"
Name1 = Sheets("Work").Cells(RowName1, ColName1)
Name2 =…
![](../../users/profiles/2607412.webp)
stupidgal
- 161
- 1
- 1
- 11
5
votes
3 answers
Excel vba execution time exponentially related to cell content length
I'm using vba for checking a spreadsheet for strikethrough text.
As
ActiveCell.Font.Strikethrough
only detects strikethrough in the entire cell, I used following code that counts individual characters with strikethrough.
Dim iCh As Long
Dim…
![](../../users/profiles/3279222.webp)
OldFrank
- 810
- 6
- 6
4
votes
3 answers
I want my text strike through extend on whitespace
I use NSAttributeString to set strike through on my text, I want it extend on whitespace.
I already set the correct range, but the strike through only cover the text characters. The strike through is ignore the whitespace unless I add some non-empty…
![](../../users/profiles/1657578.webp)
kaala
- 486
- 5
- 13
4
votes
6 answers
How to do strike through string for javascript
I want to strike through text in Javascript but I can't seem to get the code to work.
var message = document.getElementById('helloWorld');
setTextContent(message, 'hello world!'.strike());
Would appreciate any help. Would also like to do it…
![](../../users/profiles/2590493.webp)
SS SS
- 65
- 1
- 2
- 6
4
votes
1 answer
How to strikethrough text items in listview when checked?
I'm trying to strikethrough list items when they are checked, however, there's one problem: once one item is checked, another gets striked, however, the toast messages are shown correctly for each item checked or unchecked. But I can't find the way…
![](../../users/profiles/1935451.webp)
Juta
- 41
- 1
- 5