diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-05-06 13:43:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-05-06 13:49:57 +0900 |
commit | 80a31d6c8a114799dc5284086ffce2e9be34c50e (patch) | |
tree | 1719891657e76c04f063f5ff7b5fdf63d9e562c3 /debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/Tracking.txt | |
parent | e6ba08c3b21cdb14ee3a97b5d584759a4597b54b (diff) | |
download | extra-dependencies-80a31d6c8a114799dc5284086ffce2e9be34c50e.tar.gz extra-dependencies-80a31d6c8a114799dc5284086ffce2e9be34c50e.zip |
uncrustify-trinity: updated based on upstream version 0.75.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/Tracking.txt')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/Tracking.txt | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/Tracking.txt b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/Tracking.txt new file mode 100644 index 00000000..a1fb7850 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/Tracking.txt @@ -0,0 +1,52 @@ +2020-11-09 + +Tracking is used to put some marks within a copy of the source and +in the log file. uncrustify generate a HTML file with the marks. + +Using a browser, one can see where, which options are working. + +The command option is: + +uncrustify --tracking Track.html -c config-FILE -f source-FILE -L A 2>A.txt + +Tracking puts a red "M" in the source to show where the options are working. +A tracking number is used and writen in the Track.html file and the output file A.txt +to make possible to link the changes together. + +An example: + +tracking.cpp +{ + a = b + 111-55; +} + +The config file: + +indent_with_tabs = 0 +sp_arith = force +sp_assign = force + +The tracking file is: + +<html> +<head> + <meta http-equiv="content-type" content="text/html; charset=utf-8"/> + <title>Uncrustify: where do the Spaces options work</title> +</head> +<body lang="en-US"> +<p> +</p> +<pre> +{ + a<a title="1,8,sp_assign"><font color="red">M</font></a>=<a title="2,9,16,sp_assign"><font color="red">M</font>< +/a>b<a title="3,10,17,22,sp_arith"><font color="red">M</font></a>+<a title="4,11,18,23,27,sp_arith"><font color="red">M< +/font></a>111<a title="5,12,19,24,28,31,sp_arith"><font color="red">M</font></a>-<a title="6,13,20,25,29,32,34,sp_arith" +><font color="red">M</font></a>55<a title="7,14,21,26,30,33,35,36,sp_before_semi"><font color="red">M</font></a>; +} +</pre> +</body> +</html> + +Use it with a browser and you can see the red "M"s. +Let put the cursor on the "M"s, and you see the tracking number and the option used. +(look at the picture track.jpg) |