Lines numbering in Code Block

The Code Block doesn't number lines anymore. The work around is to ask for Numbered list in addition to Code block.

Just applying Code Block:

     required init?(coder aDecoder: NSCoder) {
          super.init(coder: aDecoder)
          commonInit()
     }

Code Block AND Numbered List (or the other order)

1.      required init?(coder aDecoder: NSCoder) {
2.           super.init(coder: aDecoder)
3.           commonInit()
4.      }

Is there another way to get numbering directly ?

Answered by DTS Engineer in 678971022

The Code Block doesn't number lines anymore.

Well, that’s annoying. I hadn’t noticed this and I’ve been creating posts, like this one, that reference line numbers. Whoops!

I’ve filed a bug asking to get them back (r. 79282384).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

The Code Block doesn't number lines anymore.

Well, that’s annoying. I hadn’t noticed this and I’ve been creating posts, like this one, that reference line numbers. Whoops!

I’ve filed a bug asking to get them back (r. 79282384).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

When I look at your answer in this thread, I do not see line numbers:

I'll wait the return from your bug report.

Any news from the FB ?

Any news from the FB?

Nope )-:

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Lines numbering in Code Block
 
 
Q