Added bugfixed source (vclua-0.6.3-arm.tar.gz) to files section. Tested on Raspberry Pi Zero W with raspbian buster. If you have problems, please attach the full error message.
check your sourcecode. find XLabel and change it to xLabel, variable names are case sensitive!
function selectFile(xLabel, xFile) xFile = selectFileR() -- xLabel:Refresh() xLabel.caption = xFile end
im waiting for my new pi. After i received it i will try to compile it for you.
Hi, the list of the key bindings is a 'built in' function in the propertygrid, so it is not accessible from lua. to get the default keybindings search for the procedure named TSynEditKeyStrokes.ResetDefaults at https://github.com/alrieckert/lazarus/blob/master/components/synedit/syneditkeycmds.pp Janos
Hi, both caretpos routines uses the synedit built in functions. i have no idea how to get coordinates of the caret. Maybe someone at the lazarus forum know how to solve the autocompleation in lazarus... The new version will handle the synedit module in the future. The first release is in the very alpha stage now. Janos 13:59 keltezéssel, Gavin Holt írta: Hi I have made a basic autocompleation script for synedit using vclua 0.6.3 under windows. I would like to popup a menu at the cursor position (not...
Hi, Synedit component doesn't supports wordwrap (as i know) Did you tried to modify these properties below? property Keywords: TStringlist; property NonKeywords: TStringlist; SynEdit1:SetLang("LUA") SynEdit1.Highlighter.Keywords:Add("hello") regards Janos
Sorry, the correct way to prevent key triggering is: local function onKeyDown(Sender, key, shift) if shift=="[ssCtrl]" and mySynCtrlKeys[key] then Sender:CommandProcessor(mySynCtrlKeys[key]) return 0 -- set key to ecNone end return key -- continue trigger chain end