Vectric Syntax Libraries: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==Obtain Syntax Library== | ==Obtain Syntax Library== | ||
Download: [http://www.jimandi.com/VCarve-Tools/WikiDownLoad/ | Download: [http://www.jimandi.com/VCarve-Tools/WikiDownLoad/Index.html | Vectric-ZeroBrane_API.zip ] | ||
Open and extract the, <q>Vectric.lua</q> file from the zip file and copy <q>Vectric.lua</q> to "C:\ .... \ZeroBrains\api\lua" directory | Open and extract the, <q>Vectric.lua</q> file from the zip file and copy <q>Vectric.lua</q> to "C:\ .... \ZeroBrains\api\lua" directory | ||
== Configuring library == | == Configuring library == | ||
To enable the Vectric Syntax Libraries, open ZeroBrane Studio and navigate to the <q>Edit</q> pull down menu, <q>Preferences | To enable the Vectric Syntax Libraries, open ZeroBrane Studio and navigate to the <q>Edit</q> pull down menu, <q>Preferences and select <q>'''Settings: User'''</q>. | ||
'''''Add the following line to the bottom of file''''' | '''''Add the following line to the bottom of file''''' | ||
Line 15: | Line 15: | ||
[[File:VectricAPI.png| | [[File:VectricAPI.png|Vectric API|left|thumb|700x700px]] | ||
Line 30: | Line 30: | ||
'''For Example:''' | |||
<nowiki> | |||
--[[ | |||
Use this file to specify **User** preferences. | |||
Review [examples](C:\Program Files\ZeroBrains\cfg\user-sample.lua) or check [online documentation] | |||
(http://studio.zerobrane.com/documentation.html) for details. | |||
--]] | |||
package "striptrailingwhitespace.lua" | |||
package "autodelimitersurroundselection.lua" | |||
styles = loadfile('cfg/tomorrow.lua')('SciTeLuaIDE') | |||
stylesoutshell = styles -- apply the same scheme to Output/Console windows | |||
styles.auxwindow = styles.text -- apply text colors to auxiliary windows | |||
styles.calltip = styles.text -- apply text colors to tooltips | |||
table.insert(api,'Vectric') </nowiki> | |||
[[File:Back.jpg|right|50px|link=Main Page]] | [[File:Back.jpg|right|50px|link=Main Page]] |
Latest revision as of 16:55, 8 February 2024
Obtain Syntax Library
Download: | Vectric-ZeroBrane_API.zip
Open and extract the, Vectric.lua
file from the zip file and copy Vectric.lua
to "C:\ .... \ZeroBrains\api\lua" directory
Configuring library
To enable the Vectric Syntax Libraries, open ZeroBrane Studio and navigate to the Edit
pull down menu, Preferences and select
Settings: User
.
Add the following line to the bottom of file
- table.insert(api,'Vectric')
For Example:
--[[ Use this file to specify **User** preferences. Review [examples](C:\Program Files\ZeroBrains\cfg\user-sample.lua) or check [online documentation] (http://studio.zerobrane.com/documentation.html) for details. --]] package "striptrailingwhitespace.lua" package "autodelimitersurroundselection.lua" styles = loadfile('cfg/tomorrow.lua')('SciTeLuaIDE') stylesoutshell = styles -- apply the same scheme to Output/Console windows styles.auxwindow = styles.text -- apply text colors to auxiliary windows styles.calltip = styles.text -- apply text colors to tooltips table.insert(api,'Vectric')