slisson / mps-tables

Table Editor Component for JetBrains MPS
Apache License 2.0
7 stars 3 forks source link

Entering a value does not work - subsitute info missing? #60

Open markusvoelter opened 11 years ago

markusvoelter commented 11 years ago

I have a table row in which the row editor is a partial table:

editor for concept DDEntry node cell layout: partial table { horizontal r<> { cell [- ?[- % type % -] ? -- -] c<> r<> } } As you can see, the cell uses a list around the actual %type% property that should be shown in this cell. As a consequence of the list, I cannot enter a value anymore. When I press Ctrl-Space in the type cell, I get a completion proposal for DDEntry (which is the container concept). You can try out this problem in the LMS repo here: node: Example [RootDDCOwner] root: TestDataDictionary [NodesTestCase] model: test.ts.datadictionary.toplevel module: test.ts.datadictionary url: http://mbeddr.com/r:7e0c934d-9cc2-4209-b6c4-7ccae78be201##__##5449787351254281466#### Go to the "length" line, delete the int32 type, and try to enter a new one.
slisson commented 11 years ago

You can put an additional collection cell around it until I fixed this issue: [- [- ?[- % type % -] ? -- -] -]

markusvoelter commented 11 years ago

wha? another one :-) ? Ok, but this fixed the issue for the time being.

On Sun, Oct 27, 2013 at 8:09 PM, slisson notifications@github.com wrote:

You can put an additional collection cell around it until I fixed this issue: [- [- ?[- % type % -] ? -- -] -]

— Reply to this email directly or view it on GitHubhttps://github.com/slisson/mps-tables/issues/60#issuecomment-27176534 .

Markus Völter

voelter - ingenieurbüro für softwaretechnologie/itemis Ötztaler Strasse 38, 70327 Stuttgart-Untertürkheim, Germany

Phone: +49 (0) 171 / 86 01 869 Email: voelter@acm.org

http://www.voelter.de http://twitter.com/markusvoelter https://plus.google.com/116287041150844298254

http://dslbook.org http://mbeddr.com http://omegataupodcast.net