Menu

Prototype Commit Log


Commit Date  
[r38] by alessio-gaspar
2011-12-11 02:59:46 Tree
[r37] by alessio-gaspar

Playing with styling, using JQuery's Buttons
Errr this source is really in need of refactoring ;P

2011-12-07 06:21:40 Tree
[r36] by alessio-gaspar
2011-12-07 01:47:55 Tree
[r35] by alessio-gaspar

added BLANK line to myprogram.js to help with testing

2011-12-06 06:38:58 Tree
[r34] by alessio-gaspar

The model now keeps track of the lines numbers for each statements.
For ASSIGN & BLANK it's just one number stored inside property lines[0].
For IF & LOOP the same property stores the lines numbers of each line used to represent the syntax elements of a given statement, e.g. lines[0] holds the line for the IF, lines[1] the line for the THEN, lines[2] the line for the ELSE, lines[3] the line number for the ENDIF.
This allows to locate the first & last lines of an entire statement in order to add the "SelectedLines" marker to it.
This is done after having a onclick handler go recursively through the statements to mark their selected property to be the opposite of the selected property of the statement we just mouse-downed on

2011-12-06 06:36:55 Tree
[r33] by alessio-gaspar

Elementary lines selecting; model / view

2011-12-05 09:43:21 Tree
[r32] by alessio-gaspar

Expressions & LValues are validated

2011-12-04 17:18:01 Tree
[r31] by alessio-gaspar

First attempt to add a toolkit of buttons to the program view. These will be used later to add / del lines in the sources
still very much draft all this stuff right now

2011-12-04 11:51:19 Tree
[r30] by alessio-gaspar

Expressions & lvalues are editables in program
no validation yet
need refactoring to be done pretty soon

2011-12-04 10:48:53 Tree
[r29] by alessio-gaspar

Small Steps; preparing to make parts of program's view editables. The renderProgram function is now preparing the view inside a programView variable inside org.sherpa.program.view. This allows to no longer rely on the return values

2011-12-04 10:14:03 Tree
Older >