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
276
votes
7 answers

Does Notepad++ show all hidden characters?

In Notepad++ I have set "replace tab with 2 spaces". When coding in Python I copy-pasted some code from the web and it appeared indented correctly. But running the code resulted in indentation errors, which I solved in the end by removing all…
user89021
  • 14,784
  • 16
  • 53
  • 65
85
votes
4 answers

How to multi-line "Replace in files..." in Notepad++

If the free source code editor Notepad++ has the feature "Find in files...", that is without the files being opened in the editor, does it also have the feature "Replace in files..."? Notepad++ is based on the editing component Scintilla - for which…
Rob Kam
  • 10,063
  • 14
  • 55
  • 65
41
votes
5 answers

How to Use Scintilla .NET in C# Project?

I am attempting to use Scintilla .NET in a project (I want a good editor + syntax highlighting, etc). Unfortunately, when I reference the binaries in my project, I can't seem to actually use the Scintilla controls. I get two different errors. The…
JasCav
  • 34,458
  • 20
  • 113
  • 170
16
votes
1 answer

ScintillaNET vs AvalonEdit for providing scripting interface for a WPF Application

I am working on a project which includes implementing a scripting interface for my WPF (.Net4) windows Application. I am curious if anyone can suggest a preferred editor, AvalonEdit vs ScintillaNET. Any pitfalls and advantages of one over the other.…
Bhuvan
  • 1,523
  • 4
  • 23
  • 49
15
votes
2 answers

Pygments in QScintilla

Consider this mcve: import math import sys import textwrap import time from pathlib import Path from collections import defaultdict from PyQt5.Qsci import QsciLexerCustom, QsciScintilla from PyQt5.Qt import * from pygments import lexers, styles,…
BPL
  • 9,632
  • 9
  • 59
  • 117
13
votes
1 answer

How does custom syntax highlighting in Scintilla work (and why doesn't mine)?

So anyways, I'm trying to implement custom syntax highlighting into a Scintilla control in Visual C#.NET. I've been told do this through an XML file. I have named it "ScintillaNET.xml" and placed it in the debug bin for my project. In the Form_Load,…
Alper
  • 1
  • 12
  • 39
  • 78
10
votes
1 answer

Where did System.Design go?

I am making a C# project in which I am using ScintillaNet, and it says: The referenced assembly "ScintillaNet" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"…
Nilbert
  • 1,112
  • 3
  • 14
  • 26
8
votes
3 answers

Scintilla .NET - Can't find libraries

I'm trying to get Scintilla .NET working in a C# form I'm making. I've followed the directions provided in the readme such as adding the Scintilla component to the toolbox, but when I try to drag the component to a C# form I get this following…
Michael Peddicord
  • 459
  • 1
  • 5
  • 15
7
votes
4 answers

How can I highlight text in Scintilla?

I am writing an editor using Scintilla. I am already using a lexer to do automatic syntax highlighting but now I would like to mark search results. If I want to mark only one hit I can set the selection there, however, I would like to mark (e.g.…
szabgab
  • 6,202
  • 11
  • 50
  • 64
7
votes
1 answer

64-bit Scintilla-like text-editing component?

Is there a 64-bit-compatible alternative to Scintilla out there that's open-source?
user541686
  • 205,094
  • 128
  • 528
  • 886
7
votes
3 answers

How to implement a comment feature that works with multiple selections in QScintilla?

I'm trying to implement a toggle comment feature in QScintilla that works with multiple selection. Unfortunately 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 * #…
BPL
  • 9,632
  • 9
  • 59
  • 117
7
votes
3 answers

Notepad ++ highlights everything that comes after <%= in html.erb files

See the image above. I'm working on notepad ++. html.erb files are presented that way, and I don't know how to get rid of the sky blue highlighting that follows <%=.
Jason Kim
  • 18,102
  • 13
  • 66
  • 105
6
votes
2 answers

Is there an example of syntax highlighting for DScintilla?

I have installed DScintilla, Delphi VCL wrapper for Scintilla code editing component, but I can't find any basic example of how to use it. Could you post some basic code example of syntax highlighting or a reference to code examples for it ?
beerwin
  • 9,813
  • 6
  • 42
  • 57
6
votes
2 answers

Scintilla Supports Unicode? What about SCI_GETCHARAT?

Does Scintilla really support Unicode? If so, why does SCI_GETCHARAT return a char value (casted to LRESULT)?
user541686
  • 205,094
  • 128
  • 528
  • 886
6
votes
1 answer

How to use custom folding icons in QScintilla?

Consider this snippet: import sys from PyQt5.Qsci import QsciScintilla from PyQt5.Qt import * if __name__ == '__main__': app = QApplication(sys.argv) view = QsciScintilla() # http://www.scintilla.org/ScintillaDoc.html#Folding …
BPL
  • 9,632
  • 9
  • 59
  • 117
1
2 3
16 17