Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

As per Jeff's suggestion in this comment:

You can use this question as a formatting sandbox. You can

  • edit this question itself (Community Wiki questions such as this one require 100 reputation to edit)
  • post answers to this question (Since this question is protected, this requires earning 10 reputation on this site)
  • post comments to this question or its answers
  • test suspected bugs with the editor

Beware that since the changes to syntax highlighting in December 2010, and the inline hints added March 2011, no syntax highlighting is applied unless the question's tags or an inline hint enable it. So, to test highlighting here in the sandbox:

  1. On the start of a line, specify a language inline using <!-- language: lang --> hints, and indent the code 4 spaces as usual. There is a full list of hints (scroll down a little).

    <!-- language: lang-html -->
    
        While not hinted otherwise: <html></html> source <b>goes</b> "here".
    
    <!-- language: lang-js -->
    
        var a = 3;
        while (not (a > 0)) {
            alert("JavaScript code <b>goes</b> here.");
        }
    
  2. Or:

    • Save your post.

    • Use something like Firebug (Firefox), Web Inspector (Safari, Chrome) or Developer Tools (Internet Explorer 8) to edit the resulting HTML. To open Chrome Dev Tools, press F12

    • Find the <pre> element and add the attribute class="prettyprint", or change it into something more specific, like class="lang-vb prettyprint".

    • Run the following in the location bar: javascript:prettyPrint();

share|improve this question
3  
Please provide an MCVE. – Kevin Jul 24 '15 at 13:41
1  
Try turning it off and on again. – Kevin Jul 24 '15 at 13:41
2  
What have you tried? – Kevin Jul 24 '15 at 13:44
    
Hello and welcome to StackOverflow. Please take some time to read the help page, especially the sections named "What topics can I ask about here?" and "What types of questions should I avoid asking?". And more importantly, please read the Stack Overflow question checklist. You might also want to learn about Minimal, Complete, and Verifiable Examples. – Kevin Jul 24 '15 at 13:50
    
It looks like you want us to write some code for you. While many users are willing to produce code for a coder in distress, they usually only help when the poster has already tried to solve the problem on their own. A good way to demonstrate this effort is to include the code you've written so far, example input (if there is any), the expected output, and the output you actually get (console output, tracebacks, etc.). The more detail you provide, the more answers you are likely to receive. Check the FAQ and How to Ask. – Kevin Jul 24 '15 at 14:11
5  
Questions about underwater basket weaving are off-topic for this site. – Kevin Jul 24 '15 at 14:42
    
Test: help center Meta Stack Exchange Chat – TIPS Jul 27 '15 at 16:21
    
This is tricky to answer without an [mcve] – Kevin Sep 8 '15 at 16:47
    
Have you seen <example.com>;? – DavidPostill Sep 30 '15 at 12:43
    
Have you seen <example.com>;? – DavidPostill Sep 30 '15 at 12:53
    
foo bar <example.com>;. – DavidPostill Sep 30 '15 at 12:54
1  
Ẅ̷̲̖̲̹̬̫̻̪̝̲͈̮ͭͯͯͩ̌̀̍͌̄̀̕ͅT̴̽͂ͤ̈́̓̆̉ͭ̽ͦͮ̎͝͏̯͓̜͈̮̝͖̙͈̖̳͖̺̻͝͠F̧̧̻̠̜͓̟̥͙̭̱̞̦̖̭̠͔̽ͫ͊‌​̂̒̑̊̄ͧ͊͢Ẅ̵̧͇̖̩̟̯͇̭͈͉͈̹̪͔̖̭̟̫̈ͩ̆̌̄̌ͭ͐̌̄ͧ̀̍̆̈̆́̊̋̀Ţ̮͕̱ͤ͐͛̍͡F́ͬ͗ͪ̀̎͗͐ͧ̈̎̈́̀̐̀ͫ̅҉̵̨̰̣‌​̭̜̺̲̙̠̜̟̖̰͞ͅẄ̸͉̘̘̩͈͙̣͚͈̣ͬ̆́̓̈́́̾ͪͪ̀ͨͬͭͯ̀͠Ţ̵̸̴̨̲̲̟̯͇̹̱̪̪͖̭̲̲̺̝̞̹̠͓͂̈̐̇̓͐̔ͤ̓͋ͩ͒ͭͦͩ̃‌​̽Ḟ̧͚̩̤̩̙̥͍̹̱͚͖̪̠̣̺̪͉̿̆ͧͤ̈́ͬͫͧ̐̒̿̐͊̕͜ͅẄ̢͍̤̞̘̙̗͙̳̬̖͉͍̟͕̞̮ͪ͛̔ͪ̓̀̎ͭͦͦ̎͊̏ͫ͆̉̀̕͜͞Tͯ̃ͫͮ͒‌​ͧ́̈́͐̉̅ͤͤ̈̔҉̢̤͈̥͎͎̣̝͇̪͖̫ͅFͥ͋ͧ̾͐̾͑̅̇͗̐ͣ̅͒̇҉҉͉̪͍̥͉͚͔̩̱̫̙͜Ẅ̷̵̧̜̝̦̣͖̥̹͈̳̜͔͇̼͔͖̰̜̣͆ͯͨ̈‌​́̐̉ͤ͛͌̽ͥ̚̚͡͡T̶̵̡̡̳͍̯̼̤͔͎͕̺̖̠̲̘̠͓̞͇͌̂́ͪ͗ͨ͌ͣ͒̉͒̄F̞̗̦̤̎͛̓̀͊ͣ̈ͩ͊̈̓ͦ̎͛ͭ̊̒ͧ͜Ẅ̵̹̻͙̙͍͛ͨ́ͯ‌​́̆̕͝T̵̩̱̙̼̻͖̳͎̭̣͇̠̫͒͗ͯ͐ͯ̓̓̇ͯ͌͛̍͋ͯͅF͌̍͐̔͋͟҉̱̲͈̬̣͖̹̖̮̯͝͞ͅ – nicael Nov 16 '15 at 23:49
1  
@humn instead of a rollback, you can perform an edit with the exact same contents as before your edit (title, in your case) and assuming you do it within the 5 minutes grace period, it will show only a single revision with "[Edit removed during grace period]" - instead of having two revisions. – Shadow Wizard Apr 10 at 10:12
1  
This is a comment. – DJ McMayhem May 20 at 21:41
1  
bug -status-completed – unarist Jun 19 at 23:05

402 Answers 402

I am a crazy editing person.

Third try.. fourth.

Verified through attempts to revert this post that I am unable to do so via mobile. selecting the original in the list has no effect at all.

trying to go beyond the edit grace period to add another item to the list...

I am able to see the edits in the list, but I can't do anything with them.

share|improve this answer
    
this is merely a test I would not rely on it. – Andrew Barber Mar 14 '12 at 15:34
    
In fact, if I were you I would ignore it. – Andrew Barber Mar 14 '12 at 15:36

Just some test for comments...


<img src="http://graph.facebook.com/zuck/picture" width="50">

http://10.0.0.10/example.com - apparently this is not allowed anymore :) &&

123

share|improve this answer
    
one two three four – Lix Apr 30 '12 at 8:40
3  
¹ ² ³ ⁴ ₁ ₂ ₃ ₄ – Arjan Apr 30 '12 at 8:45
    
What you did there :P Trying to get multi-line comments... I've seen them before... But they elude me :P – Lix Apr 30 '12 at 8:47
    
It was not intended to look like multiline; it's more like ① superscript and ② subscript. And, as usual, it's just playing with some 𝕦𝕟𝕚𝕔𝕠𝕕𝕖 𝓬𝓱𝓪𝓻𝓪𝓬𝓽𝓮𝓻𝓼. Unfortunately, you never know what the reader sees... – Arjan Apr 30 '12 at 9:01
    
heh... yea... my stack exchange chrome notifier doesn't like any of those characters at all :P I know of the zero space character hack for character limits... I wonder if there are any other special chars that I can hack about with... – Lix Apr 30 '12 at 9:06
    
There are zillions of them, simply as many don't show, like on my Mac emoji is not shown on Stack Exchange 😄 On the other hand: the characters do have categories defining their use, which might make filtering easy. But things like MATHEMATICAL DOUBLE-STRUCK CAPITAL A are just categorized as a capital letter... ;-) – Arjan Apr 30 '12 at 9:17
    
(Screen capture of what I see) – Arjan Apr 30 '12 at 9:18
    
(And even less luck on Android.) – Arjan Apr 30 '12 at 9:26
    
I can see everything other than the emoji character...... (chrome on ubuntu) – Lix Apr 30 '12 at 9:27
2  
And the 𝓬𝓱𝓪𝓻𝓪𝓬𝓽𝓮𝓻𝓼 looks much better for you! But the emoji is not "whitespace", too bad ;-) – Arjan Apr 30 '12 at 9:28
    
@com - oh anonymous mod of mods - yes I am aware of this new limitation :) Hence testing it in the sandbox! I'm a big fan of your work BTW... Those duplicate link blocks on closed questions are simply gorgeous! Are you available for some freelance projects? ;) – Lix May 14 '12 at 7:58
    
So, the links are not allowed, but still, er, allowed? – Arjan May 16 '12 at 17:14
    
@arj - what happened after I tried to edit – Lix May 19 '12 at 15:17
    
\​​​​​​​​​​​​​ \ – Lix Sep 1 '12 at 20:23

Test for edit comment within first grace period.

Edit 1, with edit summary
Edit 2, with edit summary
Edit 3, no edit summary
Edit 4, with edit summary
Edit 5, with edit summary
Edit 6, after 9 minutes, with edit summary
Edit 7, after 9 minutes, with edit summary, overwriting previous summary
Edit 8, after 10 minutes, no edit summary

Editing within grace period no longer remembers previous edit reason?

share|improve this answer
Tabs FTW

And this is just some padding text so I can actually answer.

share|improve this answer
    
I would use an HTML comment as padding :-) – uınbɐɥs Oct 27 '12 at 3:26
    
@ShaquinTrifonoff: That doesn't work anymore, I don't think. – Ryan O'Hara Oct 27 '12 at 14:04
    
It does work, I just tested it here. – uınbɐɥs Oct 28 '12 at 19:32

This is a test of a broken hyperlink: http://www.iana.org/domains/example/blahbllabh http://www.iana.org/domains/example/blahbllabh http://www.google.com/blahblabhalbhablahbal

share|improve this answer

Testing to see if equations (TeX) are supported using any of the longhand environments:

[ x^2 ]

$$ x^2 $$

share|improve this answer

Trying to figure out the proper way to format italic_NONITALICFORWARDSLASH_italic with no spaces:

*macro*/*conditional* - macro/conditional
*macro*\/*conditional* - macro/*conditional*
*macro*//*conditional* - macro//conditional
**macro*/*conditional** - macro*/*conditional

This is already done here:
You need HTML-formatting <i></i> or <b></b>
<i>macro</i>/<i>conditional</i> - macro/conditional

share|improve this answer

<table>attempting to inject a *not supported tag</table>

<p>or an allowed one?</p>

*http://meta.stackexchange.com/a/135909/179635

edit: it is pointless, they are escaping &lt; and &gt; correctly

but well, I managed to find a way to prevent them to stripe off non supported tags :)

share|improve this answer
    
</p><<i>div>this will obviously fail but i want to try anyways<<i>/<i>div> – ajax333221 Aug 7 '12 at 22:42

On my E8200 box this doesn't occur, but on my Atom N450 netbook (both running OpenSuse 11.2), whenever I read the CPU's TSC, the returned value is mod 10 == 0, i. e. it is without remainder divisible by 10. I'm using the RDTSC value for measuring times that interesting pieces of code take, but for the purpose of demonstration I've made up this little program:

        .text
        .global _start

_start: xorl    %ebx,%ebx
        xorl    %ecx,%ecx
        xorl    %r14d,%r14d
        movb    $10,%cl
loop:   xchgq   %rcx,%r15          # save to reg
        cpuid
        rdtsc
        shlq    $32,%rdx
        xorq    %rax,%rdx          # full 64 but of RDTSC
        movq    %r14,%r13          # save the old value
        movq    %rdx,%r14          # copy current
        movq    %r14,%rsi          #  argv[1] of printf()
        subq    %r13,%rdx          #  argv[2] (delta)
        leaq    format(%rip),%rdi  #  argv[0]
        xorl    %eax,%eax          #  no stack varargs
        call    printf
        xchgq   %rcx,%r15
        loop    loop

0:      xorl    %eax,%eax
        movb    $0x3c,%al
        syscall

        .size   _start, .-_start

        .data
format: .asciz     "rdtsc: %#018llx = %1$llu -- delta: %llu\n"

(I usually use my own routines for converting, but to prevent readers from suggesting that the error might be there, I'm just using printf() here.)

With the above code, the output is (for example):

rdtsc: 0x000b88ef933ffd06 = 3246787292822790 -- delta: 3246787292822790
rdtsc: 0x000b88ef9342fcf4 = 3246787293019380 -- delta: 196590
rdtsc: 0x000b88ef93435dca = 3246787293044170 -- delta: 24790
rdtsc: 0x000b88ef9343b43c = 3246787293066300 -- delta: 22130
rdtsc: 0x000b88ef93440c34 = 3246787293088820 -- delta: 22520
rdtsc: 0x000b88ef9344604e = 3246787293110350 -- delta: 21530
rdtsc: 0x000b88ef9344b4d6 = 3246787293131990 -- delta: 21640
rdtsc: 0x000b88ef9345085a = 3246787293153370 -- delta: 21380
rdtsc: 0x000b88ef93455d96 = 3246787293175190 -- delta: 21820
rdtsc: 0x000b88ef9345b16a = 3246787293196650 -- delta: 21460

As can be easily seen, the delta varies in reasonable amounts. But conspicuous (not to say conspired ;-) is that the least significant decimal digit is always 0.

I've observed this phenomenon for more than two years now, and stackoverflow.com is not the first address where I make this issue public. But nowhere I got a reasonable answer yet. The ideas we (me and other people out there) came up with, are that

  • the TSC is incremented only every 10th cycle, but then by 10, or
  • the TSC is internally updated correctly, but reflected to the outside only every 10th cycle, or
  • the TSC is incremented by 10 each cycle.

None of these points really make sense, however. I should have actually run a program like that on the E8200 (which is currently out of order) to see if the order of magnitude of the deltas is the same or only a tenth of those in the above output. (Any volunteers?)

Googling didn't help, Intel's manuals did neither.

When discussing with other people, there was no-one else who experienced the same behaviour. If it had to do with the kernel, then at least 3 versions were affected, but then... what does the kernel have to do with it?

I've also had the netbook in service, and it came back with a new motherboard — implied a new CPU, so at least two individual entities of N450 must be affected.

I've also took measures against clock frequency changes (and no matter what frequency I fixed the clock to, the values varied only in the expected range (the same as shown)), and switched off HT, though these should actually help to get some other least significand digits, rather than preventing them. But just to be sure.

Well, if anyone wants to run the program on their machine, the command line is (provided you save the source in a file rdtsc.s):

as rdtsc.s -o rdtsc.o
ld --dynamic-linker=/lib64/ld-linux-x86-64.so.2 rdtsc.o -L /lib64 -l c -o rdtsc

In order to build it with the gcc frontend, i. e.

gcc -l c rdtsc.s -o rdtsc

you must add (or replace the _start: label with) a main: label and make it global.

share|improve this answer
#include <unordered_map>

int main() {
    std::unordered_map<int,int> m;
}

Testing two edits without a second edit summary. This is the first edit. This is the second edit. A third unsummarised edit.

share|improve this answer
1  
Bold text = Bold text and Italic text = Italic text or Italic text = Italic text – TheLQ Jun 30 '10 at 19:15
    
A not-logged-in user can't click on the dynamic "show <n> comments" when it was previously the no link "add comment (requirements)". – Mark Hurd Jul 31 '13 at 18:08
    
Another comment – Mark Hurd Jul 31 '13 at 18:09
share|improve this answer
    
Cool, always wanted to try it myself – YatharthROCK Sep 17 '12 at 16:27

And this is a...

Spoiler!

share|improve this answer

Stack Exchange HTML Div ID Jumping

Clicking here should (ideally) send you to a <div> at the bottom of this answer






























the bottom
share|improve this answer
    
Stackexchange can use js to mangle/hash user-supplied div ids so they are globally unique – Mike Pennington Sep 21 '12 at 2:45

Multi-line spoiler:

Spoiler line 1 (note the two spaces at the end of this line and the next)

Spoiler line 2

share|improve this answer

URLs cannot contain parentheses?

Is it the space?

It works with urlencode though

share|improve this answer

testing slashes escaping in backticks code in answers \, \\ and \a, \\a

share|improve this answer
    
I can show \ without using double slash \\ – hims056 Oct 12 '12 at 5:09
    
@hims056 the things I discovered is in meta.stackexchange.com/a/150161/179635 – ajax333221 Oct 12 '12 at 5:15
    
testing slashes escaping in backticks code in comments `, \` and \a, \\a – ajax333221 Oct 12 '12 at 5:21
    
\` will display `, \\` will display \`, \\hi will display \\hi, \\\hi will display \\\hi – ajax333221 Oct 12 '12 at 5:26

Code:

this is
a test

Result:

this is a test

share|improve this answer

Testing markdown. Thanks Arjan

valid XHTML

unfunny.

unfunny.

Oh gee look, you can so too underline in Stack Exchange sites:

 ̲u̲n̲d̲e̲r̲l̲i̲n̲e̲ ̲

 ̳u̳n̳f̳u̳n̳n̳y̳

 ̳u̳n̳d̳e̳r̳l̳i̳n̳e̳ ̳

  ̲̅M̲̅C̲̅M̲̅X̲̅C̲̅I̲̅X̲̅ ̲̅

  ̲̅m̲̅c̲̅m̲̅x̲̅c̲̅i̲̅x̲̅ ̲̅
share|improve this answer
    
Need some help? – Arjan Mar 11 '11 at 9:56
    
@Arjan Sure... Looking in the markdown manual I wanted to see what the checkmark did. Also I want to post linebreaks in comments – mplungjan Mar 11 '11 at 10:02
    
The [checkmark] is a named reference, just like [1] which is inserted when using the Insert Image button (which is to be preferred, to ensure that the image is uploaded to the Stack Exchange Pro account at Imgur, which does not expire images). So, you need [checkmark]: http://w3.org/Icons/valid-xhtml10 as well, as shown in that example. And you could rename checkmark to anything you like, as long as it's unique. Comments do not allow for newlines. (Though hitting Shift-Return might get you a newline while editing. It won't display though.) – Arjan Mar 11 '11 at 10:07
    
See the "Basic Links" section in the help for many ways to define URLs for links, which also applies to images. Like the following would work too: ![valid XHTML checkmark](http://w3.org/Icons/valid-xhtml10) – Arjan Mar 11 '11 at 10:13
    
@Arjan, thanks. – mplungjan Mar 11 '11 at 10:15
    
Still not funny? ;-) Enjoy! – Arjan Mar 11 '11 at 10:16
    
M̲M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲‌​̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅M̲̅atress springs! – Ryan O'Hara Mar 20 '12 at 23:17
share|improve this answer
1  
​​​​​​​​​​​​​​​ – brasofilo Sep 10 '13 at 23:29

Mouse over the left of the tower of hello

Yay you can follow instructions hello

Apparently <kbd> is immune to spoilers

hi

hi again

hi yet again

potato

why is this text drifting out

help

! spoilers don't work now?

! hey that's messed up


now they do?!?!

share|improve this answer
    
Apparently two or more spoiler blocks in a row stop being interpreted as spoiler blocks. Divide them with something else (e.g. with a <!---->) and they'll work (independently though, and they'll be visible as separate blocks too). – Andriy M Jul 11 '13 at 8:36

I've always wondered how to put a backtick in a backtick, now I know. Use 2 backticks as delimiters. ``.

SELECT `a` from `table` where `b`=`c`;

share|improve this answer
1  
Documented here, Rocket. – Arjan Feb 4 '13 at 17:52
    
@Arjan: Thanks for that link :-) – Rocket Hazmat Feb 4 '13 at 18:06
    
test this is a test int x – Thomas Feb 16 '13 at 4:52
starts with codez

w00t woot

share|improve this answer
    
Testee test Test test test – Mechanical snail Feb 6 '13 at 5:10
    
Comment comment – Mechanical snail Feb 6 '13 at 5:13

<pre><code> has highlighting too:

Look ma, <em style="xyz">highlighting<em>!
share|improve this answer

Testing magical links to questions RegEx match open tags except XHTML self-contained tags and answers http://stackoverflow.com/a/1732454/851811 using the Share button.

share|improve this answer
    
Now in comments stackoverflow.com/q/1732348/851811 and answers stackoverflow.com/a/1732454/851811 using the Share button. – Xavi López Feb 21 '13 at 12:15
    
It works only for questions and only in posts, not comments. Note that it even works for questions from other sites e.g. try pasting gaming.stackexchange.com/q/4999/7652 in a post and see. – Shadow Wizard Feb 21 '13 at 12:52

http://lmgtfy.com/?q=formatting+sandbox

http://jsfiddle.net/

share|improve this answer
    
/[[^]]*]/g ... – nhahtdh Mar 19 '13 at 20:30
    
Test leading space ​ lead, test trailing space trail . Space ​ . – nhahtdh Apr 5 '13 at 16:11
    
Two ​ jjj sdfsdfsdfsf – nhahtdh Apr 5 '13 at 16:21
    
---strike--- --test-- ~~another~~ ~~~test~~~ – nhahtdh Aug 13 '15 at 6:27

what is this magic dust that causes things to appear

share|improve this answer
    
Stack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack Exchange‌​Stack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack Exchange‌​Stack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack ExchangeStack Exchange – nneonneo Mar 9 '13 at 21:35
    
* * – nneonneo Mar 9 '13 at 21:36
    
[mso] [meta] [meta.so] Meta Stack Exchange – nneonneo Mar 18 '13 at 21:29

Some code formatting for testing of the problem outlined here: What is Wrong with Code Formatting.

asyncTask.ContinueWith(task =>
{
    // Check task status.
    switch (task.Status)
    {
        // Handle any exceptions to prevent UnobservedTaskException.             
        case TaskStatus.RanToCompletion:
            if (asyncTask.Result)
            {
                // Do stuff...
            }
            break;
        case TaskStatus.Faulted:
            if (task.Exception != null)
                mainForm.progressRightLabelText = task.Exception.InnerException.Message;
            else
                mainForm.progressRightLabelText = "Operation failed!";
        default:
            break;
    }
}

This does not format correctly.

share|improve this answer

Just testing:

Code formatting doesn't work well with NO-BREAK SPACE

-38 y1  +  35 y2  +  31 y3  = -3047

  11 y1 + -13 y2 + -34 y3 = 784

  34 y1 + -21 y2 + 19 y3 = 2949

But works with space (ASCII 32)

-38 y1  +  35 y2  +  31 y3  = -3047

11 y1  + -13 y2  + -34 y3  = 784

34 y1  + -21 y2  +  19 y3  = 2949
share|improve this answer

You must log in to answer this question.

protected by Oded Nov 17 '14 at 15:36

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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