Plain text view when updating tickets

Josh Pencheon's Avatar

Josh Pencheon

19 Jan, 2009 09:32 PM

It would be nice to be able to select to have a plain-text textarea into which to update the body of a ticket. I think that the code highlighting is great, but it is a real pain having to count spaces to get the indentation right - at the moment, I'm writing out the ticket in my text editor and then pasting it in. It would be nice to get rid of one of these steps!

Thanks for all the great work, Josh

  1. 1 Posted by Will Duncan on 20 Jan, 2009 10:34 AM

    Will Duncan's Avatar

    Do you have a specific example? I don't quite understand what you're asking for. Which is probably a sign that I shouldn't be up at 4:30 in the morning...

  2. 2 Posted by Josh Pencheon on 20 Jan, 2009 06:01 PM

    Josh Pencheon's Avatar

    Will, apologies - it looks like this might be browser specific. I've attached screen-shots from Safari and Firefox (which exhibits my preferred behaviour). Both textarea were filled with exactly the same content.

    Thanks, Josh

  3. 3 Posted by Will Duncan on 21 Jan, 2009 09:45 AM

    Will Duncan's Avatar

    So the actual spacing count is different? is it effecting the formatting once you edit/save then? I will try to replicate the behavior in the morning then pass it onto a developer to look at.

  4. 4 Posted by Josh Pencheon on 21 Jan, 2009 11:41 AM

    Josh Pencheon's Avatar

    Well, in Firefox the font used in the textarea is fixed-width, meaning
    that a , an 'i' and a 'W' will all take up the same width. In
    Safari, this is not the case - an 'i' is much narrower than a 'W'.
    This means that if I try to align code I've entered into Safari, the
    actual indent, when displayed with Markdown will be much larger.

    I suppose the solution would be just to use Firefox, but I believe the
    web-fonts 'Andale Mono' and 'Courier' are mono-spaced, so perhaps an
    option to apply this CSS style to the textarea would be cool. =)

    Thanks, Josh

  5. 5 Posted by System on 21 Jan, 2009 10:23 PM

    System's Avatar

    A Lighthouse ticket was created for this discussion

  6. 6 Posted by System on 05 Mar, 2009 03:47 AM

    System's Avatar

    Ticket # 131 was resolved by Justin Palmer.

  7. brandi closed this discussion on 29 Jun, 2012 10:08 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac