I am using qtpy to write Qt application and I import modules as `
from qtpy import QtWidget
I would like to install QScintilla but installing it using
pip install QScintilla
installs QScintilla inside site-packages/PyQt5 directory ,but I would…
I know that a method of deleting can be self.qsci.cut() and I know in a different language you can use the DeleteBack() method, but how can I remove a typed character event.text() or just simply remove the previous character in PyQt5. Thank you in…
I'm using QScintilla as a text editor in my C++ Qt project and would like to have syntax highlighting for my custom(ish) language.
Following a great guide I found (qscintilla), I subclassed QsciLexerCustom and implemented all necessary methods,…
I am developing a desktop application using "PyQt4". The application contains an XML editor implemented on top of Qscintilla. However I have an issue whenever I click a hyperlink-alike text defined via indicators. The "indicatorClicked" event is…
I'm writing a code editor in Qt with QScintilla.
I want to automatically complete the back brackets when I enter the front brackets. So that I connect the cursorPositionChanged(int, int) signal to complete_braces() slot and the connection works.…
I'm trying to learn ANTLR4 and I'm already having some issues with my first experiment.
The goal here is to learn how to use ANTLR to syntax highlight a QScintilla component. To practice a little bit I've decided I'd like to learn how to properly…
I'm trying to write a search box, containing find/find previous/find next to interact with a QScintilla textEditor widget. I therefore wrote to methods, one for highlighting all matching words and then select first occurance, one for…
I'm struggeling with telling a QScitilla textEdit that is the main widget of my MainWindow app to accept showing a personalized context menu on right-clicking the mouse.
What works fine if I use a standard Qt5 textEdit fails if used with the…
If I search for letter x forward (button Next), everything works as it should, but as soon as I change direction (button Previous), this happens:
QsciScintilla.findFirst() doesn't move selection. I.e., first press of button Previous doesn't do…
I have a static Qt and recompiled qscintilla2_qt5.a (2.10) on macOS 10.12.4. When I compile my project it prints this error:
Undefined symbols for architecture x86_64:
"qRegisterDraggedTypes(QStringList const&)", referenced from:
…
I'm trying to use the Scintilla editing component (actually using python QScintilla, but that shouldn't matter here) to edit more-or-less plain text (not a programming language or other structured text).
Nonetheless I have some structures that can…
I need to QSCintilla highlight codes like this one: \xfffe.
After a hour of googling, i still found nothing on custom lexicon for QScintilla.
So how do i make mine custom lex with it? I already have a parser code(from old versions)…
I am using a an object of QScintilla and I am reading the file in QScintilla Object incrementally.
Header myEditor.h
class myScintilla: public QScintilla {
public readFile();
};
#include "myEditor.h"
void myEditor::readFile() {
if (FILE*…
I was able to build the most recent version of QScintilla (2.9.1) on Ubuntu 15.10. I have tried building the same version on Windows 10 using Qt 5.6. QMake run to completion without giving errors. A call to Make gives the following error…