Commit Graph

13 Commits

Author SHA1 Message Date
Joost Diepenmaat ea45a13707 Indentation improvements (#117)
* Allow easier customization of indentation level

* correctly indent repeat construct

* Indent forks and loops for activity syntax. Test notes
2019-11-02 21:56:47 +01:00
Carlo Sciolla 27d48942a6
🆕Multiple run modes, now including JAR and SERVER (#96)
It is now possible to support many execution modes, currently available are:

- `jar`: the traditional way of running PlantUML from `plantuml-mode`
- `server`: ask a [`plantuml-server`](https://github.com/plantuml/plantuml-server) instance to run the preview (defaults to https://www.plantuml.com/plantuml)
2019-05-31 10:53:40 +02:00
ReneSchmelzer ef4eecefae Rsch/indentation/multiple start regexs (#88)
* fix version

* split indentation rexgexs

Split the regexs as a preparation for improvement and enhancement.
No explicit enhancement was intended, although the
`plantuml-indent-regexp-block-start' covers more blocks now.

* enhance and test regexs for groups

Changed `plantuml-indent-regexp-group-start' to cover all cases
mentioned on sequence diagram page of the plantuml website. Added
tests for all elements-with and without label (text following the
keyword).

* add support and test for box/end box blocks

* indentation test for a nested interface block

* correction of () at end of file

* indentation test for deployment diagram

* file “Cask”: added dependency to dash

* indentation tests for diagram commons

* add indentation tests for component diagrams

* regex corrections and added indentation tests for class diagrams

correct indentation regexs found by tests for class diagrams

* add indentation tests for object diagrams

* add indentation tests for state diagrams

* enhance indentation class diagram test: abstract class and interface

* move indentation tests to diagram test files

* mv test/plantuml-indentation-test.el -> test/plantuml-indentation-basics-test.el

* add indentation sequence diagram tests and mv basics tests to diagram tests

* add indentation for ref-groups

* improved indentation for ref-groups

* support indentation for activity diagrams - current/old style

* indentation support for notes

* rm not used regexs

* indentation support for plantuml macros

* correction: … → etc.
2019-03-16 10:53:17 +01:00
Carlo Sciolla 06725c7ce7
Disable broken test
Unicode testing appears to be broken only when run under ERT runner
2018-03-18 23:05:31 +01:00
Carlo Sciolla 75ffccdc91
Support CircleCI
And by the way, use coveralls.io
2018-03-18 23:05:31 +01:00
Carlo Sciolla fce628885b
Initialize plantuml-mode before tests 2017-08-19 21:46:16 +02:00
Carlo Sciolla 03fef302ec
Done with merge stuff 2017-08-19 21:40:04 +02:00
Carlo Sciolla 5a2e8d0dd2
Merged with develop 2017-08-19 19:33:36 +02:00
Carlo Sciolla 1011229c85
Start investigating #51 2017-07-07 21:18:37 +02:00
Carlo Sciolla 8752e703de
Working test setup which also tests preview 2016-12-25 17:37:18 +01:00
Carlo Sciolla 4f8e937dc2
Added Cask and ert-runner infrastructure 2016-12-25 17:37:18 +01:00
Carlo Sciolla a143ab5d7d
Working test setup which also tests preview 2016-11-11 12:53:41 +01:00
Carlo Sciolla 37dfe8c9fd
Added Cask and ert-runner infrastructure 2016-11-11 11:51:49 +01:00