Jump to content

Recommended Posts

Hello

This is a scite/lua question.

I know this is not a scite forum but I have seen some topics on scite; so I try.

Its a very basic question. But when the very examples in the documentation fail me, I am lost.

I tried the basic examples to the basic hello world from https://www.scintilla.org/SciTELua.html. Tried to pass an erroneous ext.lua.startup.script but nothing appends.

Is there something to do to activate or even debug lua. Is there a log for scite somewhere?

Here is my version of scite which I found on Centos 7 repo, it seems to indicate that lua is embedded but I may be wrong:

SciTE
Version 3.5.1 compiled for GTK+ 3.8.8
    Nov 15 2014 10:22:35
by Neil Hodgson.
December 1998-September 2014.
http://www.scintilla.org
Lua scripting language by TeCGraf, PUC-Rio
    http://www.lua.org

 

And here is the example I used:

In the property file:

ext.lua.startup.script=<path>/test.lua
command.name.1.*=test Lua
command.subsystem.1.*=3
command.mode.1.*=savebefore:no
command.1.*=testLua

test.lua:

function testLua()
  print ("Hello world!")
end

Best regards

Share this post


Link to post
Share on other sites
14 minutes ago, sauvard said:

I know this is not a scite forum but I have seen some topics on scite; so I try.

You are right ...  and on top of that you as seeking support for the original SciTE distributed by Neil, so why not ask on his support site?

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...