HippoEDIT homepage Welcome, Guest. Please login or register.
September 10, 2010, 09:30:55 pm
Home Help Search Login Register

+  HippoEDIT - Programmers text editor
|-+  General Category
| |-+  Feature requests and suggestions (Moderators: alex, Stefan)
| | |-+  Fold Scope Outlining: add default fold marker
« previous next »
Pages: [1] Print
Author Topic: Fold Scope Outlining: add default fold marker  (Read 91 times)
Stefan
Administrator
Hero Member
*****

Karma: +6/-0
Offline Offline

Posts: 684



View Profile
« on: June 29, 2010, 10:45:18 am »

Here is an how to add your own fold marker http://forum.hippoedit.com/?/topic,482.0.html

---


@Alex,

maybe it's an good idea to add an default fold marker to defaultText syntax
...\hippoedit\data\syntax\deftxt_spec.xml


like
   <SCOPES>
    <Scope open="HE_FoldRegion_Start" close="HE_FoldRegion_End"/>
   </SCOPES>



and also add new items to the "Outlining" menu like
"Outlining > Insert FoldMarker Start"
"Outlining > Insert FoldMarker End"
"Outlining > Delete current FoldMarker"
"Outlining > Delete All FoldMarkerS"



so all users can immediately start using this feature.


_

Logged

Stefan, HippoEDIT beta tester  (HippoEDIT News On Twitter: http://twitter.com/hippoedit/)
alex
Developer
Global Moderator
Hero Member
*****

Karma: +19/-2
Offline Offline

Gender: Male
Posts: 1336



View Profile WWW
« Reply #1 on: June 29, 2010, 08:20:16 pm »

Hi Stefan,

do not think so...

This feature can not be implemented for source files, or can will be too complex to do so (because such tags can be only inserted in comments and so on).
Also I do not like that you need to insert first start tag and then end tag..
Also this will require some "special" scope tags, because I need to distinguish if such scope exist in spec or not (remember case with source files).
So, this mean significant work.

Better, from my point of view is too add feature to hide any text area (line based) without additional text modification (like this done in Notepad++ fex).
I have this idea in todo, will try to add after 1.50.

Best regards,
Alex.
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC