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

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Fold Scope Outlining: add default fold marker
« 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.


_

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: 2183
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Fold Scope Outlining: add default fold marker
« 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.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2899 Views
Last post December 09, 2008, 10:57:54 pm
by alex
3 Replies
5243 Views
Last post July 28, 2009, 06:16:32 pm
by alex
3 Replies
5646 Views
Last post September 15, 2010, 08:13:09 am
by kryten
2 Replies
2380 Views
Last post September 06, 2009, 10:58:48 am
by Stefan
4 Replies
1905 Views
Last post October 27, 2014, 12:27:45 pm
by alex