Difference between revisions of "User talk:Dizzylizzy"

From NetHackWiki
Jump to navigation Jump to search
m (Welcoming new user)
 
(A fix for indentation in the source code: new section)
Line 15: Line 15:
  
 
-- [[User:New user message|New user message]] ([[User talk:New user message|talk]]) 23:12, 28 January 2013 (UTC)
 
-- [[User:New user message|New user message]] ([[User talk:New user message|talk]]) 23:12, 28 January 2013 (UTC)
 +
 +
== A fix for indentation in the source code ==
 +
 +
I notice that the indentation is present in the source; it's just not showing on the screen. Perhaps there's a better way, but here's a possible fix: place a non-breaking space (U+00A0) after the line number.  That is:  line number, one non-breaking space, no additional spaces, then the source with the indentation intact.  The rendering will then preserve any spaces that follow. See [[Source:NetHack 3.6.0/src/zap.c]] for how this works.--[[User:Ray Chason|Ray Chason]] ([[User talk:Ray Chason|talk]]) 23:19, 10 December 2015 (UTC)

Revision as of 23:19, 10 December 2015


Welcome!

Welcome!

Hi, Dizzylizzy! Welcome, and thanks for joining NetHackWiki!

  • The How to help and Style guide pages are excellent starting points.
  • Special:Recentchanges is a great first stop, because you can see what other people are editing right this minute, and where you can help.
  • Questions? Need help? You can ask at the Community Portal, the forum, or on the discussion page associated with each article! Just remember to sign those posts with four tildes: ~~~~. That will expand to create a signature.

You can put {{NAOplayer|NAO player account}} on your user page to link to your NAO player account. Capitalization matters.

We are really happy to have you here, and look forward to working with you!

This is an automated greeting. -- The Welcome Bot 07:27, 10 May 2024 (UTC)

-- New user message (talk) 23:12, 28 January 2013 (UTC)

A fix for indentation in the source code

I notice that the indentation is present in the source; it's just not showing on the screen. Perhaps there's a better way, but here's a possible fix: place a non-breaking space (U+00A0) after the line number. That is: line number, one non-breaking space, no additional spaces, then the source with the indentation intact. The rendering will then preserve any spaces that follow. See Source:NetHack 3.6.0/src/zap.c for how this works.--Ray Chason (talk) 23:19, 10 December 2015 (UTC)