HELP: settings directly in ini-files

Started by Stefan, February 01, 2009, 05:29:30 PM

Previous topic - Next topic

Stefan

#15
1.49.818

- New flag is added to settings.xml which controls commenting style. Details....

Quote from: request (slightly modified wording)
Q:
when commenting out a large block of code, blank lines are skipped over (leaving them uncommented)
Would it be possible that all lines in a block being commented out regardless of their content (blanks or not)? 

For example:
// Lorem ipsum dolor sit amet
// Lorem ipsum dolor
//
// Lorem ipsum dolor sit
// Lorem ipsum dolor

instead off:
// Lorem ipsum dolor sit amet
// Lorem ipsum dolor

// Lorem ipsum dolor sit
// Lorem ipsum dolor


A:
I understood the reason, have not thought about this when implementing the feature... Skipping of lines was even more work, than not skipping :)
I can provide an XML flag, that control this, with default to old behavior. If more people will like it, default can be changed or flag will come to UI settings.


  To enable commenting of empty lines too, add into <Formatting> section (of data\settings.xml) following key:

Code (xml) Select
<Formatting>
<CommentEmptyLines>true</CommentEmptyLines>
</Formatting>
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

to disable auto indenting of text after paste you can use following XML flag in settings.xml:
Code (xml) Select

<Formatting>
   <IndentAfterPaste>false</IndentAfterPaste>
</Formatting>


by default it is enabled and not shown, so to disable paste new value inside Formatting node.

HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

alex

you can modify default number of recent files stored in workspace by direct change of configuration file hippoedit.config

Default is:
Code (xml) Select
<RecentFileCount>10</RecentFileCount>

you can change value from 1 to 16. Currently 16 is max limit but maybe some when will be increased.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

alex

By default, command Join Lines does not add extra space between lines fragment.
You can activate alternative way and add this extra scape (if line does not end with space already) using this flag in settings.xml:
Code (xml) Select
<Formatting>
   <JoinLinesWithSpace>true</JoinLinesWithSpace>
</Formatting>
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

alex

While there are controversial opinions about such feature: some request it as very useful, others think it is annoying, I have decided to make auto complete behaviour optional.
But, while I think this is very tiny adjustment, I do not want to put this in UI options, to make them even more complex. So, comes new XML flag.

[attachimg=1]

file settings.xml in data directory.
Code (xml) Select
<Dialogs>
    <SearchAutoComplete>false</SearchAutoComplete>
</Dialogs>


default value for search autocompletion is true (default values are skipped in xml files).

Important: this flag available from 1.50 version
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]