diff --git a/README.md b/README.md index ec09f3f..cfa0685 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Transferring a color scheme between MATLAB installations -------------------------------------------------------- If you are using a personalised color scheme in MATLAB, you may wish to save -it for yourself so you can re-implement it easily if you reintall MATLAB. +it for yourself so you can re-implement it easily if you reinstall MATLAB. Or you may wish to transfer your personalised color scheme from one machine to another. This section describes the steps relevant in either scenario. @@ -115,12 +115,12 @@ refer to the annotated screenshot, The values for each colour in the .prf stylesheet must be recorded as single RGB integers, with each colour channel in 8-bit (0-255), R as big endian, -and a opaque alpha channel. Because the format for RGB colours in Java allows +and an opaque alpha channel. Because the format for RGB colours in Java allows for an alpha channel and the integers are signed, all the colours you record in your .prf file should be negative, spanning the range `-16777216` (black, `[0,0,0]`) to `-1` (white, `[255,255,255]`). -The text file for your pre-existing theme will typically specify its colous in +The text file for your pre-existing theme will typically specify its colours in hexadecimal format, or in terms of R, G, B values. You will need to convert the colours from this format into the format which MATLAB preference files use to specify colours instead. @@ -132,7 +132,7 @@ details. ### Setting colours for additional languages -MATLAB supports syntax highlighting for several languanges in addition to its own. +MATLAB supports syntax highlighting for several languages in addition to its own. Currently these languages are MuPAD, TLC, VRML, C/C++, Java, VHDL, Verilog, and XML/HTML. The colours used for the syntax highlighting of all these languages can be set @@ -164,7 +164,7 @@ do the following. 3. Load the colorscheme with `schemer_import('tmp.prf')`, which overwrites the syntax for the additional languages with automatically inferred colours. 4. Open up the panel Preferences > Editor/Debugger > Languages and inspect the - quality of the colorscheme in the addition languages. + quality of the colorscheme in the additional languages. 5. Fix or improve any perceived issues with the colorscheme in the Languages panel. 6. Export the colorscheme again, but this time with `schemer_export(3)` to include the customised colours for the additional languages. @@ -173,7 +173,7 @@ do the following. ### Adding your scheme to this package If you are particularly proud of your new color scheme (and why wouldn't you be) -and would like to to share it with the world as part of the `matlab-schemer` +and would like to share it with the world as part of the `matlab-schemer` package, this is possible! Please head over to our daughter repository, [matlab-schemes][], which holds the diff --git a/schemer_export.m b/schemer_export.m index e74107c..5e4257b 100644 --- a/schemer_export.m +++ b/schemer_export.m @@ -43,7 +43,7 @@ % because users loading your exported color scheme may want syntax % options highlighted which you are not currently using. Consequently, % when designing a color scheme, it is advisable to set colours for all -% possisble MATLAB colour settings, even if you don't usually use them. +% possible MATLAB colour settings, even if you don't usually use them. % By default, SCHEMER_IMPORT will not import boolean settings, so users % will keep their syntax options enabled or disabled as they prefer even % after importing your color scheme. @@ -76,7 +76,7 @@ % IMPORTANT NOTE: % You must have, at any point since installing MATLAB, visited the % Color, Color>Programming Tools and Editor/Debugger>Display panes of -% the Preferences diaglogue within MATLAB and then clicked OK in order +% the Preferences dialogue within MATLAB and then clicked OK in order % for all the settings to be exported correctly. You will obviously have % done this for any settings you have changed but, for example, you may % have left the Editor/Debugger>Display settings unchanged. If this @@ -674,4 +674,4 @@ % Turn this into an integer colour value colors(iName) = prefs{iName}.getRGB; end -end \ No newline at end of file +end diff --git a/schemes/CONTRIBUTING.md b/schemes/CONTRIBUTING.md index ca40323..9f01383 100644 --- a/schemes/CONTRIBUTING.md +++ b/schemes/CONTRIBUTING.md @@ -72,7 +72,7 @@ prompt. Or - in MATLAB GUI, undock the Editor panel - - move tabs to bottom, if more than one file is being editted + - move tabs to bottom, if more than one file is being edited Also, make sure the MATLAB toolstrip is visible on the undocked panel. If it is minimised, right-click on the toolstrip and restore it.