General XMetaL Discussion

  • doneill

    View tab characters

    Participants 0
    Replies 1
    Last Activity 6 years, 11 months ago

    Is there a way to view tab characters?  I have some code sample, and I'd like to be able to see where the sample uses tab characters versus where the sample uses spaces. 

    I'm using XMetaL 6.

    Reply

    Derek Read

    Reply to: View tab characters

    1. Switch to Plain Text view.
    2. Copy a tab character from somewhere.
    3. Open the Find dialog (Edit > Find and Replace) and paste the tab character into the “Find” box on the “Text” tab then click the Find button. You must paste it in because the tab key is used for navigation in dialogs.

    You can search for tabs in Tags On or Normal view as well, but as we're talking about white space (which is collapsed in these views according to the XML spec) searching for them in those views can be confusing depending on where they appear in the document.

    There are other ways to do find specific characters (writing a macro for example) but the solution above is likely the simplest.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support