Notepad++ UCCNC Macro Style + Autocomplete Addin

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

Notepad++ UCCNC Macro Style + Autocomplete Addin

Postby Robertspark » Mon Sep 26, 2016 6:35 pm

As per the title.....

Within the zip file is a PDF explaining what to do (+ with pictures ... :roll: )

There is the UCCNC.XML file which you need to copy and paste into the: C:\Program Files (x86)\Notepad++\plugins\APIs folder.

Then there is the UCCNC Style.XML file which you will need import via the Languages + User Defined Languages.

Also I'd recommend that you change the Settings >> Style Configurator to Deep Black Theme or change the Styles

256kB file limit! ... googledrive link below:

https://drive.google.com/open?id=0B9eqGqWQVBbWZHJKbFZZNDl6OEE
Rob

Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
UC400eth, UC300eth, UCCNC v1.2045, Neuron Lite.
UCCNC Macro Manual
Robertspark
 
Posts: 470
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Notepad++ UCCNC Macro Style + Autocomplete Addin

Postby Vmax549 » Mon Sep 26, 2016 10:49 pm

Hey ROB can that thing make a decent cup of coffee???

(;-) TP
Vmax549
 
Posts: 501
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Notepad++ UCCNC Macro Style + Autocomplete Addin

Postby Robertspark » Mon Sep 26, 2016 11:16 pm

... well I did burn the midnight oil on it, but once I got going at understanding notepad++ I kind of thought I better finish .... another string to the bow and something learnt....

(must admit I have updated the style.XML this evening.... if you have downloaded it before about 9pm (~3 hrs ago... I'd download it again, delete the user defined language and add in the new Language style as there were a few things that were not working right......)

TP, thanks very much for the tip on using the error log file...... the question is the line numbers don't correspond to the macro, is that because it ignores whitespace?
Rob

Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
UC400eth, UC300eth, UCCNC v1.2045, Neuron Lite.
UCCNC Macro Manual
Robertspark
 
Posts: 470
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Notepad++ UCCNC Macro Style + Autocomplete Addin

Postby Vmax549 » Tue Sep 27, 2016 12:07 am

HI Robert, actually I have no real idea BUT it seems to be a constant 10 line offset . Being teh first line of script is teh 10th line in the errolog line definition.
My GUESS is that it is accounting for teh function() that teh Macro enviroment is wrapped in when running in UCCNC and that appears to be 10 lines of code BEFORE it calls teh macro script into play. Being that the debugger is not strictly macro based it accounts for everything involved.


(;-) TP
Vmax549
 
Posts: 501
Joined: Sun Nov 22, 2015 3:25 am
Location: USA


Return to Macros

Who is online

Users browsing this forum: No registered users and 1 guest