The patch adds 2 menu items in 'edit->special commands->other' to insert a new line below and above the current line without indentation respectively.
Notapad++ has this feature, CB may also benefit from that.
1, I'm OK with this patch, what does other C::B dev's opinion?
2, I think the patch can have two improvements.
a, we have a global function named "wxString GetEOLStr(int eolMode)", which already handle the eol to string.
b, I suggest add one line doxygen style comment in the main.h, such as:
(Though we don't have much comments in the existing code, but I think it is still very important to add some comments especially for the new added code)
Thank you very much for your contribution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1, I'm OK with this patch, what does other C::B dev's opinion?
2, I think the patch can have two improvements.
a, we have a global function named "wxString GetEOLStr(int eolMode)", which already handle the eol to string.
b, I suggest add one line doxygen style comment in the main.h, such as:
(Though we don't have much comments in the existing code, but I think it is still very important to add some comments especially for the new added code)
Thank you very much for your contribution.
2.a I'm not sure how to use a wxString for EOL character so please feel free to make whatever changes necessary.
Applied in rev 11125. Thanks for the contribution.
I'm not sure how these two commands are useful in everyday life.
Can you show an example workflow?
Why do you want the added line to be unindented?