Commit Graph

90 Commits

Author SHA1 Message Date
René Schmelzer 068db4828f correction: … → etc. 2019-03-16 10:03:06 +01:00
René Schmelzer 6343a4dd93 indentation support for plantuml macros 2019-03-15 13:03:15 +01:00
René Schmelzer 5f6e84474f rm not used regexs 2019-03-15 12:56:21 +01:00
René Schmelzer 6e55203a21 indentation support for notes 2019-03-15 12:55:35 +01:00
René Schmelzer ef19d71ca3 support indentation for activity diagrams - current/old style 2019-03-14 13:54:47 +01:00
René Schmelzer 153860bacb improved indentation for ref-groups 2019-03-12 23:06:39 +01:00
René Schmelzer 6515b3de97 add indentation for ref-groups 2019-03-12 22:03:54 +01:00
René Schmelzer 96ec931f64 regex corrections and added indentation tests for class diagrams
correct indentation regexs found by tests for class diagrams
2019-03-10 21:35:24 +01:00
René Schmelzer 1b6562a1a2 indentation tests for diagram commons 2019-03-10 20:54:25 +01:00
René Schmelzer af6ac38547 correction of () at end of file 2019-03-07 20:16:38 +01:00
René Schmelzer 1e761fbd04 add support and test for box/end box blocks 2019-02-15 17:21:04 +01:00
René Schmelzer fb427db400 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).
2019-01-27 19:56:29 +01:00
René Schmelzer dee00b74b1 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.
2019-01-27 15:52:59 +01:00
René Schmelzer 9eb0bda6e6 fix version 2019-01-12 18:26:15 +01:00
Carlo Sciolla 366ecb605a
Support block indentation for abstract classes
Fixes #83
2019-01-08 23:06:58 +01:00
Carlo Sciolla de5d9b3dd7
Keep docu for new changes 2019-01-08 22:51:24 +01:00
Carlo Sciolla 56d668c54e
Added extra keywords to the indentation block start regex
Keywords added:
- `folder`
- `frame`
- `cloud`

Fixes #78
2019-01-08 22:47:51 +01:00
Carlo Sciolla 0374482cf7
Added new version note 2019-01-07 22:25:02 +01:00
ReneSchmelzer ae97b806bc Rsch/indentation/fix and enhance (#85)
* fixed indentation code and added de-/activate to indentation

* added tests for indentation changes

* changed indentation code and tests

- more changes to plantuml-indent-regexs
- added more test
- changed function to determine indentation level and tests accordingly
- changed plantuml-indent-line and tests accordingly
- changed test names and doc strings to be more consistent

* more indentation tests, corrected regex for par block

- the par block usually does not have any label
- added database to start regex and added a test
- added block tests
2019-01-07 21:23:04 +01:00
niklascarlsson 49f707b20c Rewrite start-process to remove eval-and-compile (#82)
Wrapping the defcustoms in eval-and-compile made the code compileable
but not customizable for the user.

Rewriting the start-process into a function instead of a macro makes it
possible to remove the eval-and-compiles.
2019-01-07 21:15:41 +01:00
Carlo Sciolla 82ab084c86
Proper changelog needs to include indentation support 2018-08-16 12:12:47 +02:00
Alpha TAN f416fe76f2
1) Fixed the comiling error when installing with melpa, surround the `defcustom-list` with `(eval-and-compile ...)` block ; 2) update the version number to 1.2.7 ; 2018-08-16 12:03:29 +02:00
Carlo Sciolla 7d09b36773
Remove all compilation warnings 2018-08-16 12:02:30 +02:00
Carlo Sciolla 6c0455b5e2
Make indentation work 2018-08-16 11:32:44 +02:00
Raymond Huang da2c301c1a Add autoindent support (#75)
Add indent-line implementation
2018-08-14 23:08:29 +02:00
Carlo Sciolla 3df9bf31a7
Remove support for emacs 24 2018-08-14 21:59:34 +02:00
Alpha TAN 2c1d5a33a6 1) Introduced custom variable `plantuml-jar-args' to control which arguments are passed to PlantUML jar ; 2) Fix the warning of failing to specify types of 'defcustom' variables ; 2018-07-17 15:03:32 +08:00
Carlo Sciolla 5a2e8d0dd2
Merged with develop 2017-08-19 19:33:36 +02:00
Carlo Sciolla 445d853211
Extra docs for latest releases 2017-08-19 19:31:30 +02:00
Carlo Sciolla 3e017a1a3a
Merge branch 'fix/51' into develop 2017-08-19 19:23:25 +02:00
Carlo Sciolla da9d39c947
#51 Evaluate the `plantuml-java-args` defcustom at compile time
`defcustom`s are not executed at byte-compile time. Wrapping the
`defcustom` in an `eval-and-compile` form does the trick.
2017-08-19 19:20:04 +02:00
Carlo Sciolla 4ba8359045
#60 Upgrading license to GPLv3+ 2017-08-18 12:17:57 +02:00
Carlo Sciolla ecb4428218
#60 Upgrading license to GPLv3+ 2017-08-18 12:16:12 +02:00
Carlo Sciolla 6a210b7bb1
Try to test the install process 2017-07-08 11:35:40 +02:00
Carlo Sciolla d24e464877
Prepare for release v1.2.3 2016-12-25 21:15:52 +01:00
Carlo Sciolla 4bdff5676d
#50 use UTF-8 in `start-process`; test against a txt file generated by PlantUML instead of a hand-made one 2016-12-25 21:12:58 +01:00
Carlo Sciolla 2e9dc3acc1
prepare for v1.2.2 2016-12-25 21:10:59 +01:00
Carlo Sciolla 4931a52522
prepare for v1.2.1 2016-12-25 21:10:59 +01:00
Carlo Sciolla 7c7e620810
Prepping for v1.2.0 2016-12-25 21:10:59 +01:00
Carlo Sciolla 1db264f540
Prepare for v1.1.1 2016-12-25 21:10:59 +01:00
Carlo Sciolla 73442f1222 Merge pull request #47 from 7mamu4/add-interactive-parameter-for-region
plantuml-preview-region: add interactive parameter for region
2016-12-25 21:03:29 +01:00
Carlo Sciolla eb380bac56
Prepare for release v1.2.3 2016-12-25 20:42:24 +01:00
Carlo Sciolla b5e880790b
#50 use UTF-8 in `start-process`; test against a txt file generated by PlantUML instead of a hand-made one 2016-12-25 19:31:01 +01:00
Matthias Müller e140eba7b1 plantuml-preview-region: add interactive parameter for region
plantuml-preview-region:
Add the begin and end of the region to the parameters of function
This allows using the function programatically
without modification of the mark.

plantuml-preview:
Adjust plantuml-preview-region function call.
2016-11-12 01:48:47 +01:00
Carlo Sciolla 87417ad75b
prepare for v1.2.2 2016-11-11 11:05:24 +01:00
Carlo Sciolla 676f4b6040
Merge branch 'develop' 2016-11-11 11:03:54 +01:00
Carlo Sciolla 5cb8d2336a
merged with current develop branch 2016-11-11 11:03:04 +01:00
Carlo Sciolla ba7420b587
prepare for v1.2.1 2016-11-11 09:19:47 +01:00
Carlo Sciolla 76a96af6e8
merged develop 2016-11-11 09:17:16 +01:00
Carlo Sciolla 673e524443
Expand file names before any `shell-quote-argument` happens to support ~ in paths 2016-11-11 09:12:58 +01:00