Comments (26)
You are correct. ScintillaNET v3.x is vastly different from v2.x. It is a complete rewrite. There has been no attempt to keep the API compatible and no plans to create any kind of "compatibility layer".
That being said, most of the time there should be an equivalent v3.x API for whatever you were doing in v2.x.
Is there a particular API I can help you find? Or something missing in v3.x?
from scintillanet.
OK i understand. I have to decide staying at v2.6 or changing to v3.x?
- Do you know, if v2.6 still alive?
- Do's there exist a container project like SCide also for v3.x?
from scintillanet.
ScintillaNET v2.x is effectively dead. AFAIK I was the only one still working on it and I've moved on to v3.x so there really isn't anyone left. Some of this is explained in the move announcement at the old CodePlex site: https://scintillanet.codeplex.com/.
There isn't currently a sample project for v3.x like SCide was for v2.x but I'm starting to think that I should create one. You're not the first person to ask for more complete samples.
from scintillanet.
Thanks very much for your help jacob.
I will change to v3.x now.
Josef
from scintillanet.
Time permitting I'm going to try and create a sample application to highlight some of ScintillaNET's features.
from scintillanet.
Would be great if you can create it in C# and VB.NET.
from scintillanet.
I'm trying the new version of ScintillaNET, and I got a problem on xml code folding. Can you give me some advice? Thanks!
from scintillanet.
Is it possible your question has been asked and answered in Issue #2?
from scintillanet.
I had used Scintilla 3.5.5 with Qt and now would be very good to look little example for ScintillaNET for VS13. I built and inserted ScintillaNET (first v3.4.0 then master) in my app, but it doesn't work. And how I can add my own lexer? Thanks.
from scintillanet.
You'll have to be more specific about what isn't working when you use ScintillaNET. Did you receive an exception?
If you haven't yet, you should read the Wiki to learn more about ScintillaNET. If you're interested in learning how to write a custom lexer you should read the guide Custom Syntax Highlighting.
from scintillanet.
BTW, for everyone hoping for a ScintillaNET demonstration project, you should know that you'll be waiting a long time. That isn't something that just comes together over night. My first priority is to maintain ScintillaNET and that takes enough of my time as it is.
The Wiki is fairly comprehensive and my preference would be to continue enhancing that before I spend time on a demonstration app. Perhaps one day there will be a demonstration app but I wouldn't want to give any developers the impression that one is just around the corner. If any of you have questions now, we should answer them via the project Issue tracker or Wiki.
P.S. If anybody else is using ScintillaNET in an open-source project I'm interested in creating a list of "applications which use ScintillaNET" in the Wiki.
from scintillanet.
Thank you for your advice, i'll go to Wiki.
I've built ScintillaNET and added it to Studio 13 as scintilla tool ok (one library ScintillaNET.dll). I can see scintilla and it's properties in my editor. Then I added scintilla to my app and built it ok too. I changed default value of property "text" "scintilla 1" to "TEST Scintilla" successfully and so. I tried different value of property "lexer" (cpp, xml), but couldn't got highlighted text.
App is running ok, without exceptions (and without highlighted text too).
I added my own lexer as new cpp module with Qt and Scintilla 3.5.5 earlier, but I'm beginner in C#.
May be I'm mistaken, it seems to me I must configure lexer in xml file, isn't it?
from scintillanet.
Setting the Lexer
property is only one of several steps necessary to see syntax highlighting. You should read the Automatic Syntax Highlighting wiki page.
from scintillanet.
Thank you very much! All the same as my Qt project: styles and their colors. I go further and look for references of making my own lexer.
from scintillanet.
Excuse me, once more question.
I made my own lexer by "Custom Syntax Highlighting".
Are there some tools to set folding marks of lines in ScintillaNET? It isn't enough configure folding by "Automatic Code Folding".
May be I'm mistaken, it looking the same as "Bookmark Lines", isn't it?
Thanks.
from scintillanet.
"Automatic Code Folding" will not work for custom lexers. When you develop a custom lexer you also must implement your own folding. Sadly, I haven't gotten around to authoring a Wiki article on the subject so you're going to have to blaze your own trail if you don't want to wait for me.
The native scintilla documentation includes a brief example on how to use folding here: http://sphere.sourceforge.net/flik/docs/scintilla-folding.html. It's written in C but should be fairly easy to map to ScintillaNET concepts.
from scintillanet.
P.S. This link also has a guide on how to implement folding for a custom lexer:
https://bitbucket.org/StarFire/scintilla-doc/downloads/Scintilla-var'aq-Tutorial.pdf.
from scintillanet.
Thank you for your advice, I'll try.
from scintillanet.
I've used "Using a Custom SciLexer.dll" topic and added my SciLexer.dll (with my own lexer from mingw project).
There are differences between two editors (mingw-Qt cpp and VS13 C#).
Most important, i couldn't got folding in C# project. I couldn't get result from my "styler.SetLevel(...);", but in my Qt project (the same Scintilla 3.4.0 ) i'm seeing it.
from scintillanet.
sorry, mistaken, 3.4.0 - ScintillaNET, Scintilla - 3.5.6
from scintillanet.
Three weeks later (after my holidays) i turned to my project and resolved folding with my own lexer. It may be more comfortable to have a folding tool for custom lexer in debugging. Great thanks to Jacobslusser for his very usefull help in wiki!
from scintillanet.
Hi.
It was very short project.
It was stopped by my chief engineer one year ago.
I'll try refresh it in mind and answer you this week.
Good luck.
Воскресенье, 29 мая 2016, 8:22 +05:00 от vinodvinu [email protected]:
Hi,
I am making a IDE for AutoIt Scripting language in vb.net. I have successfully add the tool in tool box and create an instance of Scintilla editor. I choose "Au3" as lexer from property window. But i can't change the font font size of this editor. I have set the font consolas in property window, but in runtime, it changes some other font. Then i experiment with some code which i got from wiki. One of them shows like this - "Scintilla.Lexer = Lexer.cpp". I am sadly saying that i can't find a ".Lexer" method or property in my scintilla editor. It has a ".Lexing.Lexer" method. And in wiki, it says "scintilla.Styles[Style.Cpp.CommentLine].Font = "Consolas"; ". But when i write this code in my visual studio, it shows an error line. It doesn't have "Styles() or Styles[]" option. Is there anything wrong in my project ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub , or mute the thread .
from scintillanet.
Hi once more,
As far as I remember i used my own lexer.
I made it on the base of Paskal's lexer.
All other functions were on the base on Wiki. My code for increase/decrease is:
private void mhInc(Object sender, EventArgs e) {
scintilla1.ZoomIn(); // Increase
}
private void mhDec(Object sender, EventArgs e) {
scintilla1.ZoomOut(); // Decrease
}
And I couldn't find any method like ".Lexer" in my code.
Excuse me my English, please.
Good luck.
Воскресенье, 29 мая 2016, 8:22 +05:00 от vinodvinu [email protected]:
Hi,
I am making a IDE for AutoIt Scripting language in vb.net. I have successfully add the tool in tool box and create an instance of Scintilla editor. I choose "Au3" as lexer from property window. But i can't change the font font size of this editor. I have set the font consolas in property window, but in runtime, it changes some other font. Then i experiment with some code which i got from wiki. One of them shows like this - "Scintilla.Lexer = Lexer.cpp". I am sadly saying that i can't find a ".Lexer" method or property in my scintilla editor. It has a ".Lexing.Lexer" method. And in wiki, it says "scintilla.Styles[Style.Cpp.CommentLine].Font = "Consolas"; ". But when i write this code in my visual studio, it shows an error line. It doesn't have "Styles() or Styles[]" option. Is there anything wrong in my project ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub , or mute the thread .
from scintillanet.
If you want to have a look at sample app using ScintillaNET there is always my app:
https://github.com/PawelTroka/Computator.NET
It uses ScintillaNET for scripting purposes.
from scintillanet.
For Pawel Troka
Thanks a lot, I've finished my little project year ago. It works ok thanks to Wiki.
Thanks a lot Jacob Slusser, thanks all.
Вторник, 31 мая 2016, 5:10 +05:00 от Pawel Troka [email protected]:
If you want to have a look at sample app using ScintillaNET there is always mine app:
https://github.com/PawelTroka/Computator.NET
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub , or mute the thread .
from scintillanet.
This has been addressed with issue #280.
https://github.com/hgupta9/ScintillaNET.Demo.
from scintillanet.
Related Issues (20)
- Changing EOL type crashes Scintilla HOT 4
- Help!!! How to setting color of default text HOT 2
- Avalonia UI support HOT 1
- Help! Cannot find a mask that works for RgbaImage marker symvol HOT 1
- How do i remove this corner? HOT 1
- How does line indentation work? HOT 1
- Question Regarding Combined Characters and Regex
- Failed to create component 'Scintilla' HOT 4
- sign project
- How can I remove the background color of the focused line? HOT 2
- Is there any way to highlight BETWEEN characters?
- Scrollbar don't work
- Scintilla Control causes caret in other controls to jump/bug HOT 1
- STOP drag drop on windows
- Lexer.Html does not support code folding
- Error on HEREDOC php HOT 3
- Cant drag ScintillaNET control into the form.
- Undo and Redo HOT 1
- .Lines[intIndex].Position always returns 0. - Latest version, not 3.6 release.
- Find in files feature
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 scintillanet.