Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unable to call scite.StripShow() function
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Byron Hawkins  
View profile  
 More options Sep 1 2012, 1:29 pm
From: Byron Hawkins <by...@hawkinssoftware.net>
Date: Sat, 1 Sep 2012 10:29:40 -0700 (PDT)
Local: Sat, Sep 1 2012 1:29 pm
Subject: Unable to call scite.StripShow() function

I'm trying to create a simple function in my Startup.lua script that will
allow me to choose among multiple recently copied text strings. The
copy&paste stack is working fine, but when I try to use the strip for
choosing an item in the copy history, I get an error:

/home/b/.scite/Startup.lua:101: attempt to call field 'StripShow' (a nil

> value)

Here is my script (just a simple stub to get started):

function chooseBuffer()

>   if choosingBuffer then
>     scite.StripShow("")
>   else
>     scite.StripShow("!'Choose Buffer:'[bufferIndex](OK)(Cancel)")
>   end
> end

and here is my command in .SciTEUser.properties:

command.name.5.*=Choose Buffer

> command.5.*=dostring chooseBuffer()
> command.subsystem.5.*=3
> command.save.before.5.*=2
> command.shortcut.5.*=Alt+Shift+V

I see other references to scite.StripShow here in the group, so it seems to
be working for people. Can someone please help me figure out why it is
completely missing from my environment? Thanks for your help.

Byron


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Chachereau  
View profile  
 More options Sep 2 2012, 9:03 am
From: Nicolas Chachereau <nicolas.chacher...@gmail.com>
Date: Sun, 02 Sep 2012 15:03:21 +0200
Local: Sun, Sep 2 2012 9:03 am
Subject: Re: [scite] Unable to call scite.StripShow() function
Do you have the latest version? From your script's path, I guess you're
probably using Linux: SciTE in the repositories for Debian or Ubuntu is
out of date, could be out of date on other distros as well.

I'd build from source, it's not that complicated. (See the README)

However, if your version is up-to-date, somebody else will have to step
in, as I have no idea how to help you.

Regards,
Nicolas

Le sam 01 sep 2012 19:29:40 CEST, Byron Hawkins a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Byron Hawkins  
View profile  
 More options Sep 5 2012, 1:44 am
From: Byron Hawkins <by...@hawkinssoftware.net>
Date: Tue, 4 Sep 2012 22:44:04 -0700 (PDT)
Local: Wed, Sep 5 2012 1:44 am
Subject: Re: [scite] Unable to call scite.StripShow() function

Thanks Nicolas, I built the latest code and now the strip works as
expected.

Byron


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »