Questions tagged [qscintilla]

QScintilla is a Qt port of Scintilla, a source code editing component.

Official documentation: https://riverbankcomputing.com/software/qscintilla/intro

98 questions
2
votes
1 answer

How to use autocomplete using QScintilla and C++?

I want to create an source code editor, and I need to create an autocomplete. I've looking for an example code, but I not found nothing. :( Thanks in advance.
Omar Murcia
  • 547
  • 2
  • 11
  • 26
2
votes
1 answer

Add Qscintilla library to Qt Problems

i'm trying to add Qscintilla with this tutorial to my Qt Project. The library is successfully installed but there is lot of undefined references on class (undefined reference to 'QsciScintilla::QsciScintilla(QWidget*)' or undefined reference to…
M.Duchemin
  • 63
  • 6
2
votes
2 answers

How to replace properly certain matches on QScintilla widget?

I got this little mcve code: import sys import re from PyQt5 import QtGui, QtWidgets, QtCore from PyQt5.QtCore import Qt from PyQt5.Qsci import QsciScintilla from PyQt5 import Qsci class FloatSlider(QtWidgets.QWidget): value_changed =…
BPL
  • 9,632
  • 9
  • 59
  • 117
2
votes
1 answer

How to show dialogs at a certain position inside a QScintilla widget?

I got this simple piece of mcve code: import sys import re from PyQt5 import QtGui, QtWidgets, QtCore from PyQt5.Qsci import QsciScintilla from PyQt5 import Qsci class SimpleEditor(QsciScintilla): def __init__(self, language=None,…
BPL
  • 9,632
  • 9
  • 59
  • 117
2
votes
2 answers

How to embed 'QScintilla' code editor in self-made PyQt GUI?

I'm making a small IDE - mainly for fun! I write everything in Python, and use the PyQt5 library to build the GUI. Here is a screenshot of the current status: The code editor itself is a simple QTextEdit() widget - embedded in a QFrame() widget,…
K.Mulier
  • 8,069
  • 15
  • 79
  • 141
2
votes
1 answer

Building Qscintilla2 python bindings on Windows7 with MinGW (PyQt4.11, Qt4.8.6)

I've tried to resolve this prolem for about 3days, and I'd finally felt that I need to ask for help by creating my own question. I have Windows 7x64 and Qt4.8.6 installed. I need Python with PyQt and Qscintilla2 to be installed and working. Now I…
qmor
  • 568
  • 6
  • 20
2
votes
1 answer

QScintilla - Add color to words in a custom lexer

I am trying to create a custom lexer based off of JavaScript for QScintilla. I have figured out how to add keywords the the lexer. However, I can not figure out how to alter the way they look when typed in like it does when you type the word…
crank123
  • 251
  • 1
  • 4
  • 17
2
votes
1 answer

modify qscintilla python lexar

Similar to this question: Creating and colorizing new constructs on a existing Scintilla lexer but instead of adding, I would like to modify text colors of the lexer in pyqt4. The closes I found is QScintilla: how to create a new lexer or modify an…
user-2147482637
  • 2,115
  • 8
  • 35
  • 56
2
votes
1 answer

QScintilla how to disable "overfolding"

I'm trying to use QScintilla 2.8.3 along side Qt5.3 to make a small text editor but I'm having a problem with folding. As you can see here: the end of the folding block does not corespond with the closing bracket. This is how I'm setting up the…
user1233963
  • 1,450
  • 15
  • 41
2
votes
1 answer

QScintilla highlight match words

Im trying to highlight all the match words on the editor and can't seem to figure out how to properly highlight the text. I can successfully loop through all the found matches but cant seem to find the right call to highlight it. Here is my…
adviner
  • 3,295
  • 10
  • 35
  • 64
2
votes
1 answer

PyQt4: Auto completion in Qscintilla and horizontal scrolling

I want to show all attributes and tags in auto completion list of a html file if auto completion threshold is set to 1. I have tried this code to use APIs i set this code after the file is loaded in new mdi child(sub window) but it is not…
rock
  • 167
  • 9
2
votes
3 answers

QtCreator - Can't link against static library (ld error)

I'm having a problem while using QtCreator 3.0.1 with Qt 5.2.1 on Linux. I'm trying to compile my project using QtCreator's built in 'build' function, which I imagine runs qmake project.pro and then make. My project uses QScintilla, which I have…
Federico
  • 321
  • 1
  • 2
  • 11
2
votes
1 answer

QScintilla get the QStringlist from autocompletion

I am currently using QScintilla to develop my own code editor. QScintilla provide autocompletion and calltips feature already. What I want is to get rid of the autocompletion popup widget , retrieve the list it gets, parse and display them with my…
miguel
  • 159
  • 2
  • 9
1
vote
1 answer

PySide6 QScintilla binding

I know there is no official link between qscintilla and pyside6, but I would like to know if there is any alternative or unofficial port. In search of information, I found only an empty repository http://gitorious.org/pyside-qscintilla and (as I…
Menlis Smith
  • 56
  • 1
  • 5
1
vote
1 answer

Application crashes at auto complete in QsciScintilla

I have installed the QScintilla 2 into my MacBook, and I am currently using C++ and the Qt framework to develop a QScintilla-related text editor. Briefly introduced that I have a main window class, an editor class, and some lexers. My problem is, I…
Misinahaiya
  • 502
  • 2
  • 17