Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » theide: Complete abbreviations
Re: theide: Complete abbreviations [message #20194 is a reply to message #20007] |
Tue, 24 February 2009 14:00 |
|
Hello Mirek! Can you correct this bugs in ide/Abbr.cpp? corrected code is:
void AbbreviationsDlg::Add()
{
String s;
if (EditText(s, "New abbreviation", "Keyword", CharFilterAlpha))
{
abbr.Add(s, Null);
Finish(s);
}
}
and
void AbbreviationsDlg::Edit()
{
if(!abbr.IsCursor())
return;
String s = abbr.GetKey();
if (EditText(s, "Edit keyword", "Keyword", CharFilterAlpha))
{
abbr.Set(0, s);
Finish(s);
}
}
I propose to change abbreviation mechanism:
1. Add parametrization, first propose is to add as <@"parameter description">
2. Change char @ with <@>
3. Edit and save abbreviations as tree (group by folders).
4. Save abbreviation file as xml file
5. Save abbreviation in more files and user defined locations. By default will be <installation folder>\abbrs.xml, but in file <installation folder>\ide.abbrs will be saved addresses of abbreviations files.
6. Set Splitter from abbreviation tree and code editor.
7. Change from "Abbreviation" to "Text template".
I can do this changes on evening and I will post for appreciate.
Anybody is interesting in this changes or have other proposes?
|
|
|
Goto Forum:
Current Time: Wed May 15 19:49:47 CEST 2024
Total time taken to generate the page: 0.01904 seconds
|