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
0
votes
1 answer

How to Find Words and Go to Line in QScintilla Editor?

I would like to create a function for searching for words and highlight them in Qscintilla editor and another function to go to specific line in the editor. I know these functions works in QPlainTextEdit but since I am learning Qscintilla and most…
Santosh
  • 27
  • 6
0
votes
1 answer

How to undo when using QScintilla setText?

Let me start by posting some little helper functions I'll use to formulate my questions: import textwrap import sys from pathlib import Path from PyQt5.Qsci import QsciScintilla from PyQt5.Qt import * # noqa def set_style(sci): # Set default…
BPL
  • 9,632
  • 9
  • 59
  • 117
0
votes
1 answer

How to correctly override qscintilla mousePressEvent?

I have class MainWindow and it have qscintilla editor, i want to add listener to editor mousePressEvent class MainWindow(QtWidgets.QMainWindow, gui.Ui_MainWindow): def __init__(self): super().__init__() self.setupUi(self) …
meyz
  • 1
  • 1
0
votes
1 answer

*.api files: what ecosystem do they belong to?

These files have something to do with python code analysis. More than that, probably. An example: https://github.com/fastogt/qscintilla/blob/master/qsci/api/python/Python-3.4.api These files belong either to Python, or to Qt ecosystem. The question…
Alexey Orlov
  • 2,412
  • 3
  • 27
  • 46
0
votes
1 answer

QScintilla2 not installed DLL load failed

I try to run a Python script which is a demo from PyForms, which uses PyQt5, SIP and obviously QScintilla. import pyforms from pyforms import BaseWidget from pyforms.controls import ControlText from pyforms.controls import ControlButton class…
0
votes
2 answers

When I install eric6, I get the following error:Please install QScintilla2 and its PyQt5/PyQt4 wrapper

When I installed eric6, I was prompted with the following problems: Python Version: 3.6.5 Found PyQt5 Found pyuic5 Sorry, please install QScintilla2 and its PyQt5/PyQt4 wrapper. Error: DLL load failed: Cannot find the specified program! But I have…
D.J.Fly
  • 11
  • 3
0
votes
1 answer

setAutoIndentStyle() on the QScintilla lexer doesn't work

Automatic indentation is a very nice feature offered by QScintilla. When inserting a new line, automatic indentation pushes the cursor to the same indentation level as the previous one: 1. Without lexer If you did NOT install a lexer, you can…
K.Mulier
  • 8,069
  • 15
  • 79
  • 141
0
votes
3 answers

PyQt5-5.8.2 doesn't function on Windows 10

I need to install qscintilla. I use pip for that: > pip install qscintilla PyQt5 automatically upgrades to the latest version '5.8.2', and sip upgrades to '4.19.2'. I suppose this has to do with the needs of qscintilla. Perhaps the latest version…
K.Mulier
  • 8,069
  • 15
  • 79
  • 141
0
votes
0 answers

Building release of project with QScintilla

I have project written in C++ that use Qt Framework and QScintilla2. I cannot build Release because of linker errors. I'm using Visual Studio 2013. Errors: 1>codeditor.obj : error LNK2019: unresolved external symbol "public: static struct…
Greck
  • 580
  • 6
  • 15
0
votes
0 answers

Qt 5.7 implement my own class like widget for my project

I would like to create something like web editor, with a preview function. To do that, I created my editor with highlight function, ... and I use the WebEngigne class for my preview. My problem is that i can't add my editor class in my project. This…
M.Duchemin
  • 63
  • 6
0
votes
0 answers

KeyPressEvent doesn't work with Qscintilla Library (Qt)

EDIT : THE CODE IS THE RIGHT CODE, FOR MORE EXPLANATION LOOK IN COMMENTS ;) I'm trying to do an auto completer for parenthesis with Qt and Qscintilla library but i don't know why, my program wont goes into keyPressEvent function. #include…
M.Duchemin
  • 63
  • 6
0
votes
1 answer

Why is QColorDialog.getColor crashing unexpectedly?

I got this little 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, parent=None): …
BPL
  • 9,632
  • 9
  • 59
  • 117
0
votes
1 answer

Qscintilla make error : "Qt requires C++11 support"

I am trying to compile Qscintilla 2.9.3 (obtained here) on mac (OS X 10.11.6), but the make step fails with the following error : /Applications/Xcode.app/Contents/Developer/usr/bin/g++ -c -pipe -O2 -std=gnu++11 -isysroot…
Don't panic
  • 303
  • 1
  • 2
  • 10
0
votes
1 answer

Multi-Cursor editing with QScintilla

I'd like to create a little QScintilla widget supporting multi-cursor-editing like in SublimeText. As far as i know Scintilla already supports multiple cursors but I haven't seen any example out there. So, could anyone please post a little example…
BPL
  • 9,632
  • 9
  • 59
  • 117
0
votes
2 answers

Octave configure can't find Qscintilla library

While attempting to build Octave 3.8.2 on a Solaris 10 Sparc 64 machine, configure tells me it can't find the Qscintilla libraries (and several others too), even though I have them. This is what I'm saying: ./configure --prefix=$HOME/bin/octave…
user3170753
  • 31
  • 2
  • 4