Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Code Folding Help.

    Help wanted · · · – – – · · ·
    2
    2
    594
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pat Sinclair
      Pat Sinclair last edited by

      Greetings All:
      I am getting stumped by a small problem…
      I am trying to fold based off of “non-code” items.
      I have a file that has 7 blocks of information format would be as follows:
      0 Axset
      24 lines of digits some may be preceded by - making them a negative value
      Rdgain 2 Dwell
      1 Stogain 2 Dwell
      Repeat digits and the 2 lines above through 5 Stogain 2 Dwell
      Then 1 Axset and so on through 7 Axset.
      I have set the open to \d Axset
      Middle to a miriad of different things.
      Close ^5 Stogain
      It folds but at random places…
      I am sure it is because of what I have in the middle but can’t seem to get it to work.
      Any suggestions? If you need an example file i can send.

      Regards,
      Pat

      1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones last edited by

        https://notepad-plus-plus.org/community/topic/15739/faq-desk-request-for-help-without-sufficient-information-to-help-you

        Also, this forum is formatted using Markdown, with a help link buried on the little grey ? in the COMPOSE window/pane when writing your post. For more about how to use Markdown in this forum, please see @Scott-Sumner’s post in the “how to markdown code on this forum” topic, and my updates near the end. It is very important that you use these formatting tips – using single backtick marks around small snippets, and using code-quoting for pasting multiple lines from your example data files – because otherwise, the forum will change normal quotes ("") to curly “smart” quotes (“”), will change hyphens to dashes, will sometimes hide asterisks (or if your text is c:\folder\*.txt, it will show up as c:\folder*.txt, missing the backslash). If you want to clearly communicate your text data to us, you need to properly format it.

        After you have read the above links, please come back with more details, as well example data that will actually show what you mean – interleaving the data with your question text is super confusing when you haven’t marked it up to show what’s data and what’s not.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors