Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9759

    Stefan
    Participant

    .

    I want to suggest
    to add “Paragraph” to the Type drop-down list.

    Example document with “Fold paragraphs”:


    [-]Lorem ipsum dolor sit amet, consectetur
    | adipisicing elit, sed do eiusmod tempor
    | incididunt ut labore et dolore magna
    | aliqua. Ut enim ad minim veniam, quis
    |-nostrud exercitation

    [-]ullamco laboris nisi ut aliquip ex ea
    | commodo consequat. Duis aute irure dolor in
    | reprehenderit in voluptate velit esse
    | cillum dolore eu fugiat nulla pariatur.
    |-Excepteur sint

    [-]occaecat cupidatat non proident, sunt in
    | culpa qui officia deserunt mollit anim id est
    |-laborum

    I get it nearly myself by using something like

    Custom
    ^$
    ^.+$

    but that doesn’t match the first line of an paragraph 🙁 but


    [-]
    | Lorem ipsum dolor sit amet, consectetur
    | adipisicing elit, sed do eiusmod tempor
    | incididunt ut labore et dolore magna
    | aliqua. Ut enim ad minim veniam, quis
    |-nostrud exercitation

    [-]
    | ullamco laboris nisi ut aliquip ex ea
    | commodo consequat. Duis aute irure dolor in
    | reprehenderit in voluptate velit esse
    | cillum dolore eu fugiat nulla pariatur.
    |-Excepteur sint

    [-]
    | occaecat cupidatat non proident, sunt in
    | culpa qui officia deserunt mollit anim id est
    |-laborum

    (I mean, i know that ^$ is not the prober regex to match the first line,
    but i don’t get the right one.
    I need something like “^$n.+$” or simple “^$n.+”
    Means: i want to match an empty line following by an non-empty line.
    Works with Find but i don’t get it to work in Outline)

    – – –

    I think it could be also generally nice to have an “Line offset”

    Like

    Type: Number of Braces {}
    Line Offset: [ + 1 ]

    to put the fold-mark on the next line after the match.

    .

    #10518

    Stefan
    Participant

    .

    Reminder

    Yutaka wrote:
    Please let me know again if new features didn’t show up when the new major beta version becomes available.

    Hi Yutaka.

    I still think there should be an easy way to just
    collapse whole paragraphs with the Outline plugin.
    (Just having blank lines as delimiter)

    I want to suggest to add “Paragraph”
    to the “Type” drop-down list.

    _

    EDIT

    in the meantime I have found a work around:

    Search and replace begin of paragraph with a dot.
    Find: ^$rn(.)
    Repl: nn.1

    Then use default Outline plugin Custom method for Text
    .
    ..

    ….
    …..

    Of course we can use another char then dot.
    .

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone