Questions tagged [scintilla]
Scintilla is a free source code editing component. It includes features especially useful when editing and debugging source code.
scintilla
252
questions
0
votes
0
answers
23
views
How can I find the default value assigned to a shortcut key?
I need the inverse of the code snippet below:
scintilla1.AssignCmdKey(Keys.Control | Keys.S, ScintillaNET.Command.Null);
I want to know what ScintillaNET.Command value is assigned to <CTRL-S> ...
0
votes
0
answers
77
views
How do I make indicators different colors for different words?
I'm making a program which allows you to search for terms, and they'll all be colored in a respective color (i.e. you're searching for "wood" and "length", each occurance of wood ...
0
votes
0
answers
46
views
Scintilla will not Highlight or codefold in my C++
This is my code the edit control shows up , I can see line numbers , I can type text but it does not do code folding or syntax highlighting .
What do you think might be wrong in my code ?
I am using ...
0
votes
0
answers
51
views
Search on whole words in AutoCompleteMenu-ScintillaNET on WinForms app
By default, AutoCompleteMenu-ScintillaNET searches on the first letter of the words in its list, but I want this search to be on all the letters of the given words, how should I do this? Do I have to ...
3
votes
1
answer
426
views
Code Folding with custom Lexer (ScintillaNET)
The problem is Scintilla control does the folding automatically, which means the folding doesn't work if you do your own lexer.
I'm using this to configure the control if you want to take a look at ...
0
votes
0
answers
151
views
QScintilla syntax highlighting with QsciLexerCustom - UTF-8 issue with german characters
Much like this related question, I found myself using QScintilla to create a syntax highlighter that has to deal with non-ASCII characters (é, ä, ß, etc...). I use the trick described in the comments ...
-3
votes
1
answer
86
views
How do I do a regex OR in Scite 1.6?
I think that it's using an old regex format as the pipe ( | ) doesn't appear to have an effect.
All I'm trying to is quite simple:
canvas|svg|click|mousemove|div
0
votes
1
answer
91
views
wxStyledTextCtrl - Size of AutoComp
I was just wondering if it is possible to find the size (in pixels) of the autocompletion control shown by the wxStyledTextCtrl.
My goal is to show a help window associated with the entry when a ...
0
votes
2
answers
135
views
ScintillaNet - detect mouse over
is it possible to react when the mouse is over a word ? Suppose I want to show a bubble with a description of the thing I'm currently hovering. Seems strangely difficult to do.
1
vote
1
answer
173
views
How do I enable C++ highlighting in the Scintilla control in the wxPython library?
I'm trying to enable C++ highlighting, but nothing is highlighted.
My code:
self.m_pawnedit = wx.stc.StyledTextCtrl( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.BORDER_NONE)
self....
0
votes
1
answer
126
views
ScintillaNET: how to get surrounding symbols of a clicked word
I'm using ScintillaNET in VisualStudio/C#.
When the user clicks (LMB or RMB) a specific word inside the text, I need to get the surrounding symbols. For example:
This is <a test> to show my <...
0
votes
1
answer
2k
views
how to change background color in scite (scintilla) editor
In frustration of some breakage, I've nuked my old/ancient
version of Scite, and done a fresh install of Scite.
So, on Windows, I now have 32-bit version 5.1.4.
Three issues:
#1 How/where to change ...
1
vote
1
answer
101
views
How can I save document state, letter by letter, to UNDO and REDO on Scintilla?
I am creating an IDE using Scintilla in C++. I am trying to create multiple tabs, but every tab must have its own REDO and UNDO state.
This is the behavior I would like to have:
This is the behavior ...
-1
votes
1
answer
48
views
Is there any equivelant of setCurrentBlockState of QSyntaxHighlighter in QsciScintilla?
Because the highlighting I want to use is needed to get the previous status of store in a variable in the previous line, and I can use it in the QSyntaxHighlighter by store it in setCurrentBlockState.
...
0
votes
1
answer
347
views
How to make a text margin in Scintilla?
I'm currently making a class wrapper in AutoHotkey for Scintilla (currently v5.0.1). I'm not sure what issue I'm having trying to make a text margin. It seems it should be incredibly simple. I'm ...