-
Notifications
You must be signed in to change notification settings - Fork 14
AsciiGrid
Added in 1.4.0 is the AsciiGrid focus editor for MultilineString elements.
You can get to this by setting the 'IsAsciiGrid' attribute to true on the definition, then clicking the edit button to the right of the element (as in the picture above). This will display the asciigrid editor in the focus tool. Along the top is the control panel, with the various editor modes and the controls for them. There are currently 4 available modes: Draw, MagicWand, Draw and Shape.
This modes allows selecting tiles and using the keyboard to fill them in. Click on the grid anywhere to select that tile. You can then navigate the selection around using the arrow keys, or by clicking somewhere else. Type a key to fill in those tiles with the typed character, or click delete to clear them.
You can click and draw to multiselect tiles to do fill/clear as a group. You can also copy/cut/paste those tiles.
If you type outside the current grid the grid will be expanded to contain this new point. The light grey background shows you the area that will be written into the data.
You can also hold alt to temporarily switch to the MagicWand mode.
This mode allows for selecting all the tiles containing the clicking character. An option for whether the selection should be Continuous or global is checkable at the top.
You can also type a character to select all of that character.
This mode allows freehand drawing of characters into the grid. Type a character to set the brush to that character (or press delete to change to erase mode) then simply draw into the grid.
You can hold alt in this mode to switch to eyedropper mode. Then click on a character in the grid to set the brush to that character.
This mode allows inserting various shapes. Each shape has a border and fill character. Currently the shapes Rectangle, Line and Ellipse are supported. Type a character to change the border charater to that one. To change the fill colour click on the fill character box in the bar to the top, then click a tile or type a character to set the fill character to it.