I'd like that the code should be always expanded by default. What is the reason to collapse that?
So I don't know the internal construction of this extension, but it will be nice when:
1. The code will be expanded by default for 50 lines and above that collapsed.
2. BBcode - something like that: expanded=true or expanded=false
3. I'd like to simplify as much as possible (that part is for users not a bbcode programmers)
So after selscting the code and by clicking on: "Codebox=" button which is above the post edit window, i'd like to get an effect like that:
[codebox=cpp file=file.cpp]cpp code[/codebox]
If there is no possible to detect the code line numbers, the default markes should be like that:
[codebox=cpp expanded=true file=file.cpp]cpp code[/codebox]
So the using of that will be much simpler.
And the default language extension and expansion parameters might be in the options of that component.
right now i have something like that:
which is a little annoying, because I need to fill rest of that BBcode by myself and I don't know how to do it without instructions
Can you do that?
Thanks and I'm waiting for answer.