A few editor bugs

Hello,

I'm sure you're aware of a few of these problems, but just in case

there's something you haven't noticed:

1. Alt-Gr doesn't work in Windows XP. Keyboards for many locales depend

on the key Alt-Gr to be able to type characters like {}@$, etc. In the

MPS editor nothing is being typed whenever I type an Alt-Gr-character,

so I have to switch to english keyboard layout to type those characters.

2. I can't create constant cells with just spaces, like for example your

indentCells in baselanguage. I need to copy/paste those since the text

field will not accept just spaces when I type it myself.

3. Speaking of copy/paste, the behaviour is strange. I can not seem to

reliably decide where my pasted node ends up. If paste it in a cell

collection that can accept more nodes the paste ends up as the first

node in it. When I paste it in a node that can't accept any more

subnodes it ends up after it. The problem is when I want to paste it to

the location after a cell collection. I can't paste it into the

collection, since it will end up within the collection, and I can't

paste to its parent since it will end up before the collection. It would

be nice to have a simple way to change the ordering of the nodes in the

tree.

4. Deleting nodes from the same tree is a bit buggy too. When I delete

it, it doesn't disappear from the tree (or the editor view to the

right), but an empty folder-icon turns up. The node it represents is

however null and I can't click it without an exception and I can't save

the project when it's in that state. Updating the tree with some other

node will make it refresh and go away entirely, but it's a bit annoying

to have to do that.

On another note, after I've created a new language (structure and

editor), I generate the language, the messages box says "Foo.structure

model is generated" and "Foo.editor model is generated". However, when I

try to create a new model using that language, I go to Create Root Node

-> Foo but when I want to select FooConcept, it's greyed out and says

"FooConcept (Structure Isn't Generated). What am I missing, since the

language generation said that it generatet the structure model? I have

not created any generator for this language, but I didn't think I needed

a generator just to try the editor, do I?

Regards,

Karl Avedal

3 comments
Comment actions Permalink

On another note, after I've created a new language (structure and

editor), I generate the language, the messages box says "Foo.structure

model is generated" and "Foo.editor model is generated". However, when I

try to create a new model using that language, I go to Create Root Node

-> Foo but when I want to select FooConcept, it's greyed out and says

"FooConcept (Structure Isn't Generated). What am I missing, since the

language generation said that it generatet the structure model? I have

not created any generator for this language, but I didn't think I needed

a generator just to try the editor, do I?

After removing the other project language in my project, I can now

create a new model in this language successfully. Don't ask me to

reproduce it though.

-Karl

0
Comment actions Permalink

Karl Avedal wrote:

2. I can't create constant cells with just spaces, like for example your

indentCells in baselanguage. I need to copy/paste those since the text

field will not accept just spaces when I type it myself.

As a workaround you can type _ space then delete _ and type as much

spaces as you want.

0
Comment actions Permalink

2. I can't create constant cells with just spaces,

like for example your

indentCells in baselanguage. I need to copy/paste

those since the text

field will not accept just spaces when I type it

myself.

submitted (MPS-227)

3. Speaking of copy/paste, the behaviour is strange.

I can not seem to

reliably decide where my pasted node ends up. If

paste it in a cell

collection that can accept more nodes the paste ends

up as the first

node in it. When I paste it in a node that can't

accept any more

subnodes it ends up after it. The problem is when I

want to paste it to

the location after a cell collection. I can't paste

it into the

collection, since it will end up within the

collection, and I can't

paste to its parent since it will end up before the

collection. It would

be nice to have a simple way to change the ordering

of the nodes in the

tree.

Ctrl-V - insert new node in selected node. if selected node can't accept new node, then new node inserted after selected node.

Ctrl-Shift-V - inserts new node BEFORE selected node

Ctrl-Alt-V   - inserts new node AFTER selected node.

4. Deleting nodes from the same tree is a bit buggy

too. When I delete

it, it doesn't disappear from the tree (or the editor

view to the

right), but an empty folder-icon turns up. The node

it represents is

however null and I can't click it without an

exception and I can't save

the project when it's in that state. Updating the

tree with some other

node will make it refresh and go away entirely, but

it's a bit annoying

to have to do that.

submitted (MPS-228)

0

Please sign in to leave a comment.