Skip to content

Commit 3bc2b4d

Browse files
author
Zachary Norman
committed
New logic for splitting strings and updates to the license and readme
1 parent 2575533 commit 3bc2b4d

File tree

3 files changed

+156
-150
lines changed

3 files changed

+156
-150
lines changed

LICENSE.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
The MIT License (MIT)
22

3+
(c) 2018 Harris Geospatial Solutions, Inc.
4+
35
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
46

57
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
68

7-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ A modern routine for parsing and converting IDL code to HTML with the option to
44

55
This is a modern replacement to the old extension **idl_to_html**.
66

7+
78
## Accuracy
89

9-
The overall accuracy of this colorizer is pretty good. It will have troubles if you don't follow best practices outlined in the [IDL contributing guide](https://github.com/interactive-data-language/ContribGuide).
10+
The overall accuracy of highlighting the code with this is extension is pretty good. It will have troubles if you don't follow best practices outlined in the [IDL contributing guide](https://github.com/interactive-data-language/ContribGuide) and if you use goofy syntax that is not easy to read. This does perform better than the official ENVI documentation online for some cases.
1011

1112

1213
## Usage
@@ -22,10 +23,10 @@ inputFile = file_which('python__define.pro')
2223
strings = htmlizer_read_file(inputFile)
2324
2425
;initialize the object
25-
html = htmlizer()
26+
html = HTMLizer()
2627
2728
;process some strings
28-
coloredStrings = html.Htmlize(strings, /DOCS_LINKS, /TOOLTIPS)
29+
coloredStrings = html.HTMLize(strings, /DOCS_LINKS, /TOOLTIPS)
2930
3031
;clean up
3132
html.cleanup
@@ -39,7 +40,7 @@ coloredStrings = $
3940
;set up our output file
4041
outFile = filepath(file_basename(inputFile, '.pro') + '.html', /TMP)
4142
42-
;write tot disk
43+
;write to disk
4344
htmlizer_write_file, outFile, coloredStrings
4445
4546
;copy CSS to output directory
@@ -51,6 +52,6 @@ print, 'Output file : ' + outFile
5152

5253
## License
5354

54-
Licensed under MIT. See LICENSE.txt for additional details and information.
55+
© 2018 Harris Geospatial Solutions, Inc.
5556

56-
(c) 2017 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
57+
Licensed under MIT. See LICENSE.txt for additional details and information.

0 commit comments

Comments
 (0)