Author Topic: Fold Scope Outlining: add default fold marker  (Read 2177 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
Fold Scope Outlining: add default fold marker
« on: June 29, 2010, 11:45:18 AM »
Here is an how to add your own fold marker,482.0.html



maybe it's an good idea to add an default fold marker to defaultText syntax

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

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.


Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2190
  • Karma: +37/-3
    • HippoEDIT
Re: Fold Scope Outlining: add default fold marker
« Reply #1 on: June 29, 2010, 09: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,