Questions tagged [scintilla]

Scintilla is a free source code editing component. It includes features especially useful when editing and debugging source code.

Scintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product.

As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips. The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts.

Scintilla has a reference implementation called SciTE, and is used in Notepad2, Notepad++, TortoiseSVN, and numerous other projects.

250 questions
6
votes
1 answer

Notepad++ new keywords defined with regex for the Styler configuration

If I want to add new keywords in the Styler configuration for the "c" language suppose, and I have my custom defined data type. for eg: uint_8 a; uint_16 b; uint_32 c; uint_12bla bla;* is it possible to add somehow the keywords, instead of adding…
5
votes
1 answer

Scintilla Editor Multiple Syntax Highlighting

I'm using scintilla Editor for syntax highlighting for a MarkDown Editor. scintilla.Styles[Style.Markdown.Default].ForeColor = Color.Blue; scintilla.Styles[Style.Html.Comment].ForeColor = Color.Gray; …
Ahmad
  • 8,811
  • 11
  • 76
  • 141
5
votes
1 answer

How to add a Scintilla component to a Qt Creator C++ project?

I would like to use scintilla on a Qt project, but I don't know how to start, do I have to include the source files? or is there some library that I can reference? The only installation examples I have found are for PyQt but I'm using c++ on Linux.
DumbCode
  • 315
  • 2
  • 7
5
votes
1 answer

How to implement SublimeText fold-by-level feature in QScintilla

I'm trying to implement the fold_by_level SublimeText3 feature on a QScintilla component but I don't know very well how to do it, so far I've come up with this code: import sys import re import math from PyQt5.Qt import * # noqa from PyQt5.Qsci…
BPL
  • 9,632
  • 9
  • 59
  • 117
5
votes
1 answer

how to set Scintilla for textbox in windows form C#

I have a Windows Form with a text-box, into which a user may write a Python script. I'm using Scintilla in the form but I want its area to be a textbox. Is there any way I can bind Scintilla to a textbox? Below is code I have tried: …
Jana
  • 153
  • 5
5
votes
1 answer

Visual Studio Designer fails to load

In my application, I use the ScintillaNET DLL and have created a class called BufferedScintilla where I am inheriting the control and double buffering it. Nothing unusual, just the normal C# inheritance... Than, I modified my form's Designer.cs file…
Valentin Radu
  • 629
  • 1
  • 11
  • 26
5
votes
0 answers

Scintilla tab stops

I want to use spaces instead of tabs. I found this SO post that seems to address the issue. I used the accepted answer, but I'm still having a problem. If I hit the tab key at the beginning of a line that starts with non-spaces, the tabbing works…
Welton v3.62
  • 2,210
  • 7
  • 29
  • 46
5
votes
1 answer

Is there a version of scintilla (scilexer.dll) that includes "style"(CSS) lexing for HTML?

I'm fairly sure that text-highlighting (through separating the different kinds of text) is part of the scintilla lexer's job. If it's not and is instead program specific, then please correct me. The current version of scintilla's HTML lexer has…
eleksis666
  • 51
  • 1
5
votes
1 answer

Change Syntax Color in Scintilla.NET

I've been messing around with Scintilla.NET for an hour or two, but I've ran into a problem that seems like it should be easy to solve. I can't seem to find a way to change the actual highlight color of keywords in Scintilla.NET. Their documentation…
ozdrgnaDiies
  • 1,909
  • 1
  • 19
  • 34
4
votes
2 answers

Python wx.stc custom highlighting

By lack of answers on many occasions, and the good answers I have received here, here's my question. I'm writing a program for the ABC music notation language (sample given below). This is not a supported language in wx.stc, and I have not yet found…
4
votes
1 answer

Does Scintilla need a directive? I keep getting an error?

So, when I drag in Scintilla to my C# form, and try to run it, I get the error: The type or namespace name 'ScintillaNet' could not be found (are you missing a using directive or an assembly reference?) The error appears to be coming from…
Alper
  • 1
  • 12
  • 39
  • 78
4
votes
1 answer

Adding keywords with Scintilla

I"m using ScintillaNET a wrapper for the Scintilla control. I want to change the keywords (for syntax highlighting) for a specific language, I am assuming I have to build my own version of SciLexer.dll for that. But I can't find a keyword file for…
dnclem
  • 2,818
  • 15
  • 46
  • 64
4
votes
1 answer

How to reset all keyboard shortcuts in notepad++?

I have removed the shortcut for SCI_DELETEBACK and as such my backspace key now outputs a backspace character rather than actually deleting characters. For whatever reason, it's not possible to re-assign this key (probably because they've assumed…
Matt
  • 9,068
  • 12
  • 64
  • 84
4
votes
3 answers

Workaround for inability to bind to a property that belongs to a WindowsFormsHost Child object in C#/XAML app?

I have a C# WPF 4.51 app. As far as I can tell, you can not bind to a property belonging to an object that is the child of a WPF WindowsFormsHost control. (If I am wrong in this assumption please show me how to do it): Bind with…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
4
votes
1 answer

Alternate row coloring in Scintilla

I'm using wxStyledTextCtrl from wxPython, a wrapper around the Scintilla component. Is there any way to get alternate row coloring on it (odd rows in one background color and even rows in another color)? I'm using the builtin python styler to…
PabloG
  • 25,761
  • 10
  • 46
  • 59
1
2
3
16 17