Fixing percent sign when posting code.


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Fixing percent sign when posting code.

    Testing:
    Code:
    ADCON = 101010
    The above was written in the WYSIWYG editor which, at least for me, is the default editor when making a new post.

    EDIT:
    That showed up OK. Now I pressed Edit post, the editor looks different but the A/A button says Switch to Source mode so I guess I'm still in WYSIWYG mode.
    Code:
    ADCON = 101010
    EDIT2: And that messed it up.
    Last edited by HenrikOlsson; - 15th June 2012 at 09:52.

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    Did you find this post helpful? Yes | No

    Default Re: Fixing percent sign when posting code.

    This is WYSIWYG mode:

    Name:  wysiwyg.png
Views: 2009
Size:  2.0 KB

    And this is Source mode:

    Name:  source mode.png
Views: 1540
Size:  2.3 KB

    When the second is selected, the percentage sign is shown.

    Ioannis

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Fixing percent sign when posting code.

    At the top-right of the page, click on Settings.

    In the My Settings section on the left, go to General Settings.

    Scroll down to the "Miscellaneous Options".

    For the "Message Editor Interface:" select the Standard Editor.

    At the bottom of the page, click Save Changes.

    Your default editor will now be "Source mode".

    This could be made the forum default, but it would only apply to new users when they first join.
    Each existing user will have to change the setting themself.
    Depending on the forum permissions, this may not be available for everyone.

    Please report if it is, or is not available to you.
    DT

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    Did you find this post helpful? Yes | No

    Default Re: Fixing percent sign when posting code.

    Thanks Darrel, it works fine.

    Ioannis

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Fixing percent sign when posting code.

    Thanks Darrel!
    Just did that, now let's see what happens
    Code:
    ANSEL=%00101101
    EDIT: The above looked fine when first posted. Now I'm editing the message, it still looks OK in the editor.
    EDIT2: And after the edit it still seems to be OK. Lets hope everyone here sees this and make the change to their profile because more and more "messed up" code gets posted.

    /Henrik.
    Last edited by HenrikOlsson; - 15th June 2012 at 21:12.

  6. #6
    Join Date
    Apr 2003
    Location
    Cambridge - UK
    Posts
    1,046


    Did you find this post helpful? Yes | No

    Default Re: Fixing percent sign when posting code.

    If required, i can set ALL users to default to the standard editor.

    just let me know, if that's the group decision.

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Fixing percent sign when posting code.

    Thanks Lester!
    I'm just one member but I think it's a good idea doing that.

    /Henrik.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts