dail8859 / scintilluaplusplus Goto Github PK
View Code? Open in Web Editor NEWNotepad++ plugin for Scintillua's LPeg lexers.
License: GNU General Public License v2.0
Notepad++ plugin for Scintillua's LPeg lexers.
License: GNU General Public License v2.0
The file is there, tried copying and renaming (to remove _x64) and still get the error...
If you could please help me, user defined languages are pretty bad, was hoping to use this instead...
See http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.1.tar.gz
Version 1.0.1 is available. Documentation of the changes seems to not exist. Build with this version seems to be ok.
From test.lua:
-- bug in 1.0: failed match-time that used previous match-time results
-- bug in 1.0: problems with math-times returning too many captures
Would you like to receive a PR on this?
Recentyl I updated my Notepad++ and the plugin folder structure changed. I could make run all the plugins but with Scintillua++ I have some issues.
When I start NP++ and click Plugins > Scintillua++ > Create New Language Definition a new document is created with the basic structure and I receive this error:
The other issue I have with an own create lexer. This lexer was working fine before. When I open a a file what should be highlighted with this lexer I receive this error:
This is the debug information from Notepad++:
Notepad++ v7.7.1 (32-bit)
Build time : Jun 16 2019 - 21:14:50
Path : C:_PortablePrograms\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS : Windows 7 (64-bit)
Plugins : DSpellCheck.dll Explorer.dll LanguageHelp.dll LuaScript.dll MenuIcons.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll PythonScript.dll Scintillua++.dll
The Scintillua dll is located here:
C:_PortablePrograms\Notepad++\plugins\Scintillua++\Scintillua++.dll
The *.lua files are located here:
C:_PortablePrograms\Notepad++\plugins\Config\Scintillua++...
The configuration is located here:
C:_PortablePrograms\Notepad++\plugins\Config\Scintillua++.ini
Can you please have a look what is going wrong here? Is there a log or other debug information to collect more data out of this exeptions?
When the file is changed by another program and notepad++ detect the change, the colorization is lost. Also edit the file in notepad++ will not bring back the colors. A tab change to another file in notepad++ and change back bring also the colors back.
When the user make changes in the ini file, it would be good, if the ini file is not part of the update.
Maybe a template could be put in the zip file and the plugin detect if the ini files is not in the config folder and create it by itself with the default values. Then it will be not overwritten when it is already there.
Thanks for the nice plugin. It's much easier to create own syntax highlighting in this way.
SCI_GETSTATUS can be used to check for Lua error messages. Possibly check this after Colourise()
to see if the initial lexing worked.
Also Scintilla recommends checking to make sure setting a lexer actually worked:
To test if your lexer assignment worked, use SCI_GETLEXER before and after setting the new lexer to see if the lexer number changed.
Is there a way to add one particular lexer menu/toolbar icon? Right now if I choose a built-in language lexer, the overriding gets lost and I have to restart the program to make scintillua lexer work again.
How can I use the own syntax highlighting with the functionList.xml from N++? I tried to write the name what is displayed in the lower left corner of the status bar, but it does not work. What LangID or userDefinedLangName is needed?
As a workaround I create a user defined language with the needed extensions and setup this in the functionList.xml.
But somehow this is not working anymore with version 1.2
My N++ version is 7.4.1 32bit
Add support for the F# language
This is a great plugin, but unfortunately the "block comment"-function is not working. It's the same like opening a file without extension - if notepad doesnt know the extension you can't block-comment. Is there a workaround for this? I have not found a Notification callback for "Block comment insert" but maybe there is another way?
Or would it be possible to add this function to scintillua++ ... like defining the comment-chars or something? I have no experience with lua or scintilla - i'm a web developer and i just want to highlight my scss-files in a better way then with the user defined languages. Sorry for my strange english ... i'm from germany.
Keep up the good work and best regards
Hi,
I try to create a new lexer for Denso robots. The source files are recognized as "densopacscript (lpeg)", but nothing is highlighted or folded. Attached is the ini, the lua file and a sample sourcecode file. Can you give me some hints what I made wrong?
Thank you very much.
I can get Scintillua++ 1.2 to work with the 32- and 64-bit versions of Notepad++ 7.5.8 on Windows 10, but not the 32-bit version on Windows 7 (I haven't tried the 64-bit version). The error message when Notepad++ starts is this, even though I am using the 32-bit version of both programs:
Cannot load 64-bit plugin.
Scintillua++.dll is not compatible with the current version of Notepad++.
Do you want to remove this plugin from the plugins director to prevent this message from the next launch?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.