User forums > Using Code::Blocks

EditorTweaks: new option 'Convert Matching Braces' : little bug

<< < (6/12) > >>

Alpha:

--- Quote from: MortenMacFly on October 29, 2012, 10:13:53 am ---Did that patch change anything in comparison to the previous one? After applying this I see no differences to what I already had with the previous patch...?! ???

--- End quote ---
The line endings are different... oh, LF and CR LF look exactly the same in your browser? ;)

dmoore:
@Alpha: For python, I noticed that smart indent does not provide brace completions for non-selected text. If we are doing it for C/C++, why not python (and other languages) too? I guess this would be a separate patch, and, if so, I am happy to commit the last one.

Alpha:
Brace completion and selection brace completion are (in my opinion) completely separate features, so yes, different patch.

Fall-back for brace completion would have to be very conservative, because languages differ so greatly.  Compare editing C/C++ with editing XML/HTML (the only places brace completion is currently implemented); they act quite different.

If I am able, I will see what I can come up with in the next few days.


--- Quote from: dmoore on October 29, 2012, 10:27:11 pm ---If we are doing it for C/C++, why not python (and other languages) too?

--- End quote ---
I guess simply no one got there yet.

dmoore:
That's what I thought. Will commit your patch soon.

dmoore:
Committed in rev 8489. Apologies for spacing and forgetting to give you credit in the log message, Alpha.  :-[ Hopefully we give you commit access soon!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version