Now the code is almost complete and I'd appreciate some test reports.
Some explanations for the non-obvious things in sedit:
Selecting lines/parts with Ctrl + left button allows to select multiple lines/parts.
Selecting is possible inside a rectangle. Start dragging outside of any line / part. Included is everything that is partially inside the capture rectangle.
To drag a selection click on any part / line that is selected and move the mouse keeping the left button pressed. Attention: scrolling through the sheet while dragging a selection is not yet supported.
The delete key deletes a selection.
To unselect everything click somewhere outside lines / parts.
The cut line mode cuts a line at the end to which the scissors are closer. After cutting you can place the line end somewhere else, and return to cut mode.
The part mode starts with the last part selected. Use the mouse wheel to scroll through the part library. Left button places a part at the current location.
The middle button can be held down and mouse moved to pan the display window over the sheet.
The scrollbar buttons can be dragged with left mouse button to scroll through the sheet.
The cursor keys can be used to scroll through the sheet with steps of 10 * step width (240 pixels). Together with Ctrl the step width is 1 step.
The identifiers of parts are not yet moveable and as such oftentimes unreadable.
There is no part value element yet. After it's implemented it will be moveable just like the identifier. The default locations for identifiers and values are/will be defined in the part library.
---
The sheet1.xml currently contains a part of the Pong schematics. To start a new project, just delete the old sheet1.xml before running sedit. The sheet1.xml will be auto-saved on exit, and a backup copy of the previous version will be made.
Juergen
|