Here's some more bugs/usability issues I've ran into over the past few weeks...
Bugs:
Renaming is case-insensitive:
For example, renaming a file from "main.es" to "Main.es" has no effect.
Can't type text codes:
Typing "[ color=FF0000 ]" or "[ /color ]" (without the spaces, of course) is impossible as the text is automatically formatted inside Code Editor (same in Header Browser, find Text::code and you'll see the sample text is actually red, it doesn't say "[ color=FF0000 ]Text with code[ /color ]").
Broken REP/FREP autocompletion window:
For example, typing "FREP(D." does not bring up any autocompletion window.
Pointer to non-pointer build error:
I believe this one requires a lengthy class before it will occur, but it occurs along these lines:
PHP Code:
class MyClass
{
CMenuElm *elm;
}
MyClass myClass;
myClass.elm.setOn(true); // will crash upon execution, but that's irrelevant
Build and run the program, then remove the * from *elm and re-build, you will get the following error:
Code:
error C2819: type 'EE::CMenuElm' does not have an overloaded member 'operator ->'
did you intend to use '.' instead?
As you can see, it's building it as a pointer, which it no longer is. A simple rebuild fixes this problem currently. Again, this only appears to happen within a lengthy class.
Adding elements to Node<CMenuElm> issues:
- Autocompletion:
PHP Code:
Node<CMenuElm> node;
Node<CMenuElm> &file = (node += "File");
file.New(). // autocomplete only shows "children" and "New()", which is inaccurate
- Simplified creation:
PHP Code:
file.New().create("Save").kbsc(KbSc(KB_F2)); // doesn't work, outputs "->kbsc" instead of ".kbsc"
CMenuElm &save = file.New();
save.create("Save").kbsc(KbSc(KB_F2)); // works
Static array declaration doesn't work:
- As class member:
PHP Code:
class MyClass
{
// gives redeclaration error due to missing [] in initialization in VS
static CChar *qualities[] = { "Lowest", "Low", "Medium", "High", "Highest" };
}
- As global:
PHP Code:
// incorrectly adds "static" to header file in VS causing C2159 error
static CChar *qualities[] = { "Lowest", "Low", "Medium", "High", "Highest" };
Usability Issues:
Esc to cancel builds:
Would be nice if you could press 'Esc' to cancel builds.
Shift+Click doesn't select text:
Shift+Click should select text like how Click+Drag does.
VS Autodetection doesn't work for me:
I'm using Windows 7 64-bit and VS2010. I'm assuming it's not detecting VS properly either because my VS is installed to "C:\Program Files
(x86)\Microsoft Visual Studio 10.0", or because I'm using 2010 instead of 2008.