Personally, I find it wrong that one can add a stream comment even if nothing
is selected.
I found that the easiest way to do this is to add a check in
EditEncloseSelection: if (iSelEnd - iSelStart != 0)
But the above would require that EditEncloseSelectionDlgProc and
EditInsertTagDlgProc should check for this too.
al.lekov, what's your opinion on this? Maybe any suggestion for properly doing
this without duplicate code?
Original issue reported on code.google.com by XhmikosR on 13 Dec 2011 at 3:01
Original issue reported on code.google.com by
XhmikosR
on 13 Dec 2011 at 3:01