EmEditor (text editor) Forum Index
   Enhancement Suggestions about Plug-ins
     Outline: add Type "Paragraph"
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Stefan
Posted on: 10/29/2011 9:45 am
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 263
Outline: add Type "Paragraph"
.

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.

.
Flat Previous Topic | Next Topic


Subject Poster Date
 » Outline: add Type "Paragraph" Stefan 10/29/2011 9:45 am
     Re: Outline: add Type "Paragraph" Stefan 9/4/2012 11:50 pm

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文