EmEditor (text editor) Forum Index
   Questions and Answers about Plug-ins
     How to customize the Outline plugin?
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
Flint
Posted on: 12/21/2008 11:12 am
Home away from home
Joined: 10/9/2006
From: Moscow
Posts: 162
How to customize the Outline plugin?
I tried to customize the Outline plugin for my needs, but failed to understand how the "Custom" schemes work. I looked in the help, but it explains only how custom search strings are used for matching text lines, but does not explain how matched lines form nested levels.

So, the questions are:
1. How does EE determines where each level ends in "Custom" mode? (Not in "Custom (Specify Begin …" mode.)
2. If I'm not using regular explressions, the help tells that the line should begin with the characters entered. However, in EE it seems that matching is successful if the entered substring is present anywhere inside the line. Which is wrong: help or EE behaviour?
kuo_city
Posted on: 12/21/2008 6:10 pm
Just popping in
Joined: 6/30/2007
From:
Posts: 7
Re: How to customize the Outline plugin?
I try outline plugin in v8.01, In "Custom" mode
1. Each level ends when it find the same level begin.
2. Outline plugin determine the level when start of the line match the settings.

eg: If the Level 1 setting is "LV1"
LV1 <-- Match
LV1GHKDHEJHJKH <--Match
__LV1 <-- Not Match(because the line start with other chars)
Hope this help you.
Threaded | Newest First Previous Topic | Next Topic | Top


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