Comments (7)
Hello,
I'm not sure exactly what you intend to do;
The way the syntax highlighting works at the moment is :
at each start of the plugin, it will try to modify the file : userDefineLang.xml to add a user language called OpenEdgeABL
(as of v1.0.0.0 the plugin will crash if it can't access the file in writing!!! You must have the rights to write in this file with your windows user, this will be fixed in v1.1).
If you manually edit the language definition in the userDefineLang.xml it will be erased, because the plugin overwrite the userLanguage with the name OpenEdgeABL
at each shutdown of npp.
So at the moment, you are FORCED to use the syntax i defined; but as i see it can be problematic, i will find an alternative solution for the stable release.
Please tell me if i didn't understand your question right.
and make sure userDefineLang.xml is accessible (Right click on file > Security > Check what's needed to allow total control to current user) or you won't even be able to load the plugin! :)
from 3p.
Thanks for the quick response. You understand my question correctly. I want be able to edit standard color scheme :)
And I think, you should add in to folding code 2 style "DO FOR" and "EDITING" keywords.
For examle bloks editing:end and do for:end shoud be able to folding:
prompt-for {..........}
editing:
{..........}
{..........}
end.
{..........}
do for buffer_name:
{..........}
end.
ps: your plugin is the best of the best, thank you! :)
from 3p.
Thank you very much for the support, i appreciate it! I'm glad this can be useful to you :)
I will make sure to add an option to not overwrite the User Defined Language at each shutdown so you can modify it as you wish (this modification will come with release v1.1).
Also note that using a UDL is only a temporary solution, i'm working toward a custom lexer inside the plugin, but as it is not a priority i don't know when i'll implement it!
Thanks for the EDITING
keyword, i never used it so i missed it, i added it to the UDL so you can fold the code! As for the DO FOR BUFFER
, it already work with the UDL i defined :
I'm closing the issue, see you in v1.1.0! ^^
from 3p.
FYI,
The behavior in v1.1.0 will be :
Install UDL if it doesn't exist in the userdefinedlang.xml,
Update it only when 3P updates and only if the option is set :
That way you can modify to whatever you like.
I'm curious tho, what modifications do you want to make? :)
from 3p.
I just wanted use colors and font from other colors scheme.
It`s color scheme (dark) created by J-Fobos http://rghost.ru/8wjXxHxqx and I like to use this scheme.
If you want, you can include this scheme in to your plugin, J-Fobos will not mind.
This color scheme based on https://github.com/ccleaud/ProgressABL-for-Notepad-plusplus
from 3p.
Ok! I already have everything needed to create new themes for the application and syntax highlighting, ill make sure to include this theme asap ^^
This guy's name ccleaud sounds familiar ;P
from 3p.
^^
from 3p.
Related Issues (20)
- Auto Completion - Always does it even when I disabled the keys HOT 2
- On run window appears and then disappears HOT 1
- Getting Error on Deployment HOT 1
- Syntax case and autocomplete running inside comments HOT 4
- 3P is not compatible with notepad++ v8.4+ HOT 7
- Bug with new syntax highlighting - AND is not highlighted HOT 3
- Double forward slash to be considered as a commentary by autocompletion
- On save, "function prototypes - synchronization done" continually adds function prototypes HOT 1
- Change History Feature in v8.4.6 issues with 3P HOT 2
- Box Tree in NPP isn't working while plugin active
- Could not find file 'C:\Users\skinn\AppData\Roaming\Notepad++\config.xml'. HOT 1
- Uninstall doesnt work. HOT 1
- How to override full-line history change colors HOT 1
- Go to HELL !!! HOT 1
- Tilde special escape character preceeded by a preprocessor name (compile-time constant) not working
- Font in Code Explorer window is so tiny I can't read it on a 27" monitor
- Old download link, new issue options, and questions HOT 1
- 🐞Bugs: max-close, go to def, toggle progress HOT 1
- Non progress files triggering 3P
- Unobserved Task Error keeps popping up.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3p.