Text folding, pretty please!

Request Summary:

For brain storming, outlining, studying, code writing, drafting documents, or helping the reader brief documents quickly, Folding text seems like a must! It makes those tasks (just for starters) a breeze. Please add folding text functionality to the next release or give advice on how to make add-on.

For folding text examples and explanation see:

  • Wikipedia uses text folding on their mobile site, notice it at http://en.m.wikipedia.org/wiki/Code_folding
  • Wikipedia claims it is used in many modern “text ediotrs”, but those are like word pad and notepad++ and are not anything like a word processor/desktop publisher .
  • -
  • Explanation of text folding: Text folding allows a user to collapse one or more characters, sentences, paragraphs, etc, so that (though still existing in the document) it is not visisble, but is instead represented by a simple symbol (like a “+” or a “{…}”). Clicking on that simple simble will expand the text.

Why am posting this request on this forum:

Have been waiting for this feature in a decent word processor, but have only found it in one lightweight mac program and in script editors. I really need it to make my word processor more useful: studying, outlining, coding, etc. Don’t like having to switch to different programs to do one task. Also, the programs which already offer this feature are EXTREMELY poor word processors. Wan’t a program that can do both.

Please make an extension/add-on to add this feature, advise how to make the add-on, or incorporate it into the next release.

Detail of features that should be added to Libre Writer:

  1. General Folding text (you know like in NotePad++) capability.

  2. Different Modes of toggling Folded Text: MarginSymbol and/or Inline Summary

    a. Margin Symbol - like NotePad++ (click plus in margin to expand, minus to fold)

    b. Inline Summary-. This method will show a customized summary item which represents the hidden text. The hidden text can be shown/expanded by right clicking on the inline summary item > then clicking the context menu option “show all”.
    Collapse the expanded text by right clicking on the text > then clicking on the context menu item “show summary”.

    Txt summary item may be either:    
     i.   PreDefined text (ex, "+", "note", "...", "Summary", a bullet).
     ii.  Auto Enumerated (ex "exhibit", "exhibit2", "par1", "par2").
     iii. Auto Summary of...
             text's First Paragraph,
             text's First Sentence, or
             until page full, but not more than 2 lines, & at least 1 line.
     iv.  Any Custom Text/Field, such as
            "(click to see examples and proofs)"  
            "Class Notes [Date]."
    
    ***In all instances***: 
        1. ability to format summary item (be it text or pic) like any other text or pic in the doc.
        2. ability to not allow or to allow the editing of the summary item.
        3. method indicating inlinetext is summarized (ex, highlight on mouse over)
    
  3. In-Line Text Preview for ***embeded or linked documents***.  The embeded/linked document would be represented by a summary item.  The summary item can be any user defined item (ex "{...}", a long or brief description, a bullet, or image), as in previous cases.   But Writer should also give an additional option in the case of embedding or linking a document: 
    

    the option to make any portion of the embeded/linked document the summary item, NOT allow any change to that summary item (except formatting), BUT update the summary item when the linked document/embedded document changes.
    Right clicking the summary item will give the additional option to open the document.

  4. Outline View Of Doc. (similar to MS Word, folding capability of text)
    PS, MS Wrd does a bad job of this last time I checked…mainly due to…
    a lack of any format control in outline view.2.2.3.2.3.2.—3.3.–Blockquote-

For enhancements propositions, please use : http://www.libreoffice.org/get-help/bug/

Thanks, I moved it to the appropriate section, but the formatting there is not as pretty… feel sorry for people who have to read it; so I gave them a link to this to read in rich text if they prefer.

Related AskLO thread from May 2013 is: Display hidden text when a title is clicked? Related enhancement request is https://bugs.freedesktop.org/show_bug.cgi?id=47746

Fixed link to the related enhancement request is https://bugs.freedesktop.org/show_bug.cgi?id=47746