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.
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…
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 =…
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,…
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,…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…