[QScintilla] hotspot error on Linux

2014-08-08 Thread Matic Kukovec
Hi guys, I have a PyQt4 application with a QScintilla2 editor with Python3 and the following function: def create_hotspot(node_tab): #Create the hotspot boundaries hotspot_line= node_tab.lines()-2 hotspot_first_ch = node_tab.text(hotspot_l

Re: [QScintilla] hotspot error on Linux

2014-08-08 Thread Matic Kukovec
The last 5 lines of the function are at the same indentation level as the others, Thunderbird just messed up the indentation. Sorry. On 9.8.2014 0:19, Matic Kukovec wrote: Hi guys, I have a PyQt4 application with a QScintilla2 editor with Python3 and the following function: def

Re: [QScintilla] hotspot error on Linux

2014-08-25 Thread Matic Kukovec
On 14.8.2014 11:05, Phil Thompson wrote: On 08/08/2014 11:25 pm, Matic Kukovec wrote: The last 5 lines of the function are at the same indentation level as the others, Thunderbird just messed up the indentation. Sorry. On 9.8.2014 0:19, Matic Kukovec wrote: Hi guys, I have a PyQt4

Re: [QScintilla] hotspot error on Linux

2014-09-06 Thread Matic Kukovec
On 3.9.2014 17:19, Phil Thompson wrote: On 25/08/2014 10:50 am, Matic Kukovec wrote: As for the hotspot API, I think something like the indicators use would be the best and the most consistent. Scintilla uses only a single hotspot, so if adding multiple styles is not an option, scratch that

[QScintilla] Qscintilla 2.6.1 / 2.8.1 differences?

2014-12-22 Thread Matic Kukovec
Hi guys, I'm using PyQt 4.9.4 (Windows) which has QScintilla version 2.6.1 and have noticed that there is significant lag on scrolling in documents with a large number of long lines, more than 400 characters. In QScintilla 2.8.1 (PyQt 4.11 on Windows) the lag is completely gone. Can anyone tel

Re: [QScintilla] Qscintilla 2.6.1 / 2.8.1 differences?

2014-12-22 Thread Matic Kukovec
On 22.12.2014 17:11, Phil Thompson wrote: On 22/12/2014 3:38 pm, Matic Kukovec wrote: Hi guys, I'm using PyQt 4.9.4 (Windows) which has QScintilla version 2.6.1 and have noticed that there is significant lag on scrolling in documents with a large number of long lines, more than 400 chara

[QScintilla] Long line scrolling?

2015-03-11 Thread Matic Kukovec
Hi Phil, Running PyQt4.11.3 with Python3.4 and Qscintilla2.8.4 on Windows 64-bit and am experiencing this horizontal scrollbar bug with with long lines (more than 1000 characters): http://sourceforge.net/p/scintilla/bugs/338/ In short the horizontal scrollbar won't scroll to the very end of l

Re: [QScintilla] Long line scrolling?

2015-03-11 Thread Matic Kukovec
On 11.3.2015 21:57, Phil Thompson wrote: On 11/03/2015 8:28 pm, Matic Kukovec wrote: Hi Phil, Running PyQt4.11.3 with Python3.4 and Qscintilla2.8.4 on Windows 64-bit and am experiencing this horizontal scrollbar bug with with long lines (more than 1000 characters): http://sourceforge.net/p

Re: [QScintilla] Long line scrolling?

2015-03-12 Thread Matic Kukovec
On 11.3.2015 22:57, Baz Walter wrote: On 11/03/15 21:19, Matic Kukovec wrote: Either line in the file should show the bug, just press the End key. You can access the end of the line by pressing END twice. The first press goes to the limit of the horizontal scroll, and the second press

Re: [QScintilla] Long line scrolling?

2015-03-13 Thread Matic Kukovec
On 12.3.2015 21:01, Baz Walter wrote: On 12/03/15 09:28, Matic Kukovec wrote: The double END key thing sometimes works, sometimes it doesn't. When it doesn't, like in the example, I have to press END repeatedly about 20 times to get to the end of the line, the amount it moves the vi

Re: [QScintilla] QScintilla v2.9 Release Candidate

2015-04-04 Thread Matic Kukovec
On 4.4.2015 10:23, Phil Thompson wrote: The current QScintilla snapshot is a release candidate for v2.9. Please test. Updated translations would be welcome. Thanks, Phil ___ QScintilla mailing list QScintilla@riverbankcomputing.com http://www.riverba

Re: [QScintilla] QScintilla v2.9 Release Candidate

2015-04-04 Thread Matic Kukovec
On 4.4.2015 17:21, Phil Thompson wrote: On 04/04/2015 2:52 pm, Matic Kukovec wrote: On 4.4.2015 10:23, Phil Thompson wrote: The current QScintilla snapshot is a release candidate for v2.9. Please test. Updated translations would be welcome. Thanks, Phil

[QScintilla] QScintilla v2.9 QsciLexerCustom margin behaviour?

2015-04-04 Thread Matic Kukovec
Hi Phil, The number margin background color turns white when applying a QsciLexerCustom. If the document is opened with a built-in lexer or without a lexer, the number margin color is the default gray. Is this the correct behaviour? This didn't happen in the previous version. Matic

Re: [QScintilla] QScintilla v2.9 QsciLexerCustom margin behaviour?

2015-04-07 Thread Matic Kukovec
On 5.4.2015 13:36, Phil Thompson wrote: On 04/04/2015 5:38 pm, Matic Kukovec wrote: Hi Phil, The number margin background color turns white when applying a QsciLexerCustom. If the document is opened with a built-in lexer or without a lexer, the number margin color is the default gray. Is

Re: [QScintilla] QScintilla v2.9 QsciLexerCustom margin behaviour?

2015-04-07 Thread Matic Kukovec
On 7.4.2015 21:58, Phil Thompson wrote: On 07/04/2015 8:18 pm, Matic Kukovec wrote: On 5.4.2015 13:36, Phil Thompson wrote: On 04/04/2015 5:38 pm, Matic Kukovec wrote: Hi Phil, The number margin background color turns white when applying a QsciLexerCustom. If the document is opened with a

Re: [QScintilla] QScintilla v2.9 QsciLexerCustom margin behaviour?

2015-04-14 Thread Matic Kukovec
On 14.4.2015 18:48, Phil Thompson wrote: On 07/04/2015 9:53 pm, Matic Kukovec wrote: On 7.4.2015 21:58, Phil Thompson wrote: On 07/04/2015 8:18 pm, Matic Kukovec wrote: On 5.4.2015 13:36, Phil Thompson wrote: On 04/04/2015 5:38 pm, Matic Kukovec wrote: Hi Phil, The number margin background

[QScintilla] PyQt4 and QScintilla2 on Rpi

2015-05-20 Thread Matic Kukovec
Hi guys. Anyone know the installation procedure on the Raspberry Pi for PyQt4 and QScintilla2 from source for Python 3 ? I built both successfully and ran 'make install', but cannot import QScintilla2 (No module named Qsci). Used the same procedure on Lubuntu and it worked. I'm not that famil

[QScintilla] P.S: PyQt4 and QScintilla2 on Rpi

2015-05-20 Thread Matic Kukovec
On 20.5.2015 13:39, Matic Kukovec wrote: Hi guys. Anyone know the installation procedure on the Raspberry Pi for PyQt4 and QScintilla2 from source for Python 3 ? I built both successfully and ran 'make install', but cannot import QScintilla2 (No module named Qsci). Used the same

Re: [QScintilla] P.S: PyQt4 and QScintilla2 on Rpi

2015-05-20 Thread Matic Kukovec
On 20.5.2015 17:48, Matic Kukovec wrote: On 20.5.2015 13:39, Matic Kukovec wrote: Hi guys. Anyone know the installation procedure on the Raspberry Pi for PyQt4 and QScintilla2 from source for Python 3 ? I built both successfully and ran 'make install', but cannot import QScin

[QScintilla] QsciLexerCustom autoIndent?

2016-05-02 Thread Matic Kukovec
Hi Guys, How do I make my custom lexer (inherited from QsciLexerCustom) indent the next line on a specific characters? E.g.: if a == 10: print("Indented") <--indented after ':' I tried setting the 'autoIndentStyle' to 'AiOpenning' and setting the 'blockStart' method to r

[QScintilla] QsciLexerCustom autoindent how-to?

2016-05-03 Thread Matic Kukovec
Hi Guys, How do I make my custom lexer (inherited from QsciLexerCustom) indent the next line on a specific characters? E.g.: if a == 10: print("Indented") <--indented after ':' I tried setting the 'autoIndentStyle' to 'AiOpenning' but 'block

Re: [QScintilla] Embedding Python edit/debugger/console

2016-05-06 Thread Matic Kukovec
Date: Thu, 5 May 2016 14:53:20 -0700 From: qscinti...@a-cunningham.com To: QScintilla@riverbankcomputing.com Subject: [QScintilla] Embedding Python edit/debugger/console QScintilla is a great QT based editor for Python. But has anyone put together a QScintilla based Python editor/debugger/console

[QScintilla] Word wrap character?

2016-09-08 Thread Matic Kukovec
Hi guys, Anyone know how to change the color of the word wrap character at the end of the line? The default black one cannot be seen on a dark background. Thanks, Matic ___ QScintilla mailing list QScintilla@riverbankcomputing.com https://www.river

Re: [QScintilla] Clickable functions and variables

2016-10-12 Thread Matic Kukovec
Hey Kristof, Hotspots make text clickable. You have to style it manualy using the QScintilla.SendScintilla function. Example function I used in my editor Ex.Co. (https://github.com/matkuki/ExCo): def style_hotspot(self, index_from, length, color=0xff): """Style the text from/to

Re: [QScintilla] Clickable functions and variables

2016-10-12 Thread Matic Kukovec
e a couple of days ago, but couldn't find any references if you will support 16-bit PIC's? I will try GNEB this week and mail you. I'm from Slovenia, so yes, we're in the same timezone. Hope this info helps. Matic ________ From: kristof.mul...

[QScintilla] Strings with \0 charaters in it?

2017-04-25 Thread Matic Kukovec
Hi guys, I just noticed that when adding strings that contain null characters ('\0') using the setText method, QScintilla cuts off the string at the first null character it finds. To be sure I opened the same text saved to a file with Notepad++ and SciTE and there the null characters appear.

Re: [QScintilla] Strings with \0 charaters in it?

2017-04-25 Thread Matic Kukovec
> On 25 Apr 2017, at 5:08 pm, Matic Kukovec wrote: > > > > Hi guys, > > > > I just noticed that when adding strings that contain null characters > ('\0') using the setText method, > > QScintilla cuts off the string at the first null character

Re: [QScintilla] Strings with \0 charaters in it?

2017-04-25 Thread Matic Kukovec
> On 25 Apr 2017, at 6:16 pm, Matic Kukovec wrote: > > > > > > > On 25 Apr 2017, at 5:08 pm, Matic Kukovec > wrote: > > > > > > > > Hi guys, > > > > > > > > I just noticed that when adding strings that conta

Re: [QScintilla] Strings with \0 charaters in it?

2017-04-25 Thread Matic Kukovec
> > On 25 Apr 2017, at 6:16 pm, Matic Kukovec > wrote: > > > > > > > > > > On 25 Apr 2017, at 5:08 pm, Matic Kukovec > wrote: > > > > > > > > > > Hi guys, > > > > > > > > >

[QScintilla] Fw: Strings with \0 charaters in it?

2017-04-26 Thread Matic Kukovec
> On 25 Apr 2017, at 10:08 pm, Phil Thompson > wrote: > > > > On 25 Apr 2017, at 7:06 pm, Matic Kukovec wrote: > >> > >>> On 25 Apr 2017, at 6:16 pm, Matic Kukovec > >>> wrote: > >>>> > >>>> > >&g

[QScintilla] Fw: setAutoIndentStyle doesn't work

2017-05-14 Thread Matic Kukovec
> On 14 May 2017, at 11:26 am, kristof.mul...@telenet.be wrote: > > > > Dear QScintilla users, > > > > 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.

Re: [QScintilla] setAutoIndentStyle doesn't work

2017-05-15 Thread Matic Kukovec
> On 14 May 2017, at 11:24 pm, Matic Kukovec wrote: > > > > > > > On 14 May 2017, at 11:26 am, kristof.mul...@telenet.be wrote: > > > > > > > > Dear QScintilla users, > > > > > > > > Automatic indentation is a very nice feat

Re: [QScintilla] setAutoIndentStyle doesn't work

2017-05-16 Thread Matic Kukovec
> > On 14 May 2017, at 11:24 pm, Matic Kukovec wrote: > > > > > > > > > > On 14 May 2017, at 11:26 am, kristof.mul...@telenet.be wrote: > > > > > > > > > > Dear QScintilla users, > > > > > > > > > >

Re: [QScintilla] setAutoIndentStyle doesn't work

2017-05-16 Thread Matic Kukovec
> On 16 May 2017, at 10:25 am, Matic Kukovec wrote: > > Hey Phil, > > > > I realize that I have no idea how this autoIndentStyle works. Could you > > explain step-by-step what and how things need to be implemented for this > > functionality to work correctl

[QScintilla] QMenuBar Windows vs Linux?

2018-02-03 Thread Matic Kukovec
Hi guys, I have a simple application and noticed that on Linux there is an additional spacing between the window's frame and the central widget at the top. The application is attached to this email. Here is the example on Windows (PyQt5 5.9): [cid:da60a572-7ffc-4760-a3d7-f8ec72f793b6] and this i

Re: [QScintilla] QMenuBar Windows vs Linux?

2018-02-03 Thread Matic Kukovec
From: Alan Garny Sent: Saturday, February 3, 2018 12:34 PM To: 'Matic Kukovec' Subject: RE: [QScintilla] QMenuBar Windows vs Linux? Hi Matic, I don’t use Python or PyQt5, but have you tried to comment out the line that reads: tabs = QTabW

Re: [QScintilla] QMenuBar Windows vs Linux?

2018-02-16 Thread Matic Kukovec
.@riverbankcomputing.com] On Behalf Of Matic Kukovec Sent: 03 February 2018 14:19 To: QScintilla Subject: Re: [QScintilla] QMenuBar Windows vs Linux? From: Alan Garny mailto:aga...@hellix.com>> Sent: Saturday, February 3, 2018 12:34 PM To: 'Matic Kukov

[QScintilla] QsciScintilla.indicatorReleased modifiers not working?

2018-05-07 Thread Matic Kukovec
On PyQt5 and QScintilla 2.10.4, the 'indicatorReleased' signal's 'keys' parameter always shows Qt.NoModifier, while with the 'indicatorClicked' signal this works. Can someone confirm this? Thanks, Matic ___ QScintilla mailing list QScintilla@riverbankc

Re: [QScintilla] QsciScintilla.indicatorReleased modifiers not working?

2018-05-08 Thread Matic Kukovec
Thanks Od: Phil Thompson Poslano: torek, 8. maj 19.25 Zadeva: Re: [QScintilla] QsciScintilla.indicatorReleased modifiers not working? Za: Matic Kukovec Kp: QScintilla On 7 May 2018, at 4:45 pm, Matic Kukovec wrote: > > On PyQt5 and QScintilla 2.10.4, the 'indicatorReleased'

[QScintilla] Asynchronous text styling in a custom lexer?

2018-11-21 Thread Matic Kukovec
Hi guys, Does anyone have an example of styling text in a lexer (styleText) in a separate thread that works? I have tried it using a QThread, then using moveToThread to parse the text and then styling the text with a callback signal when the parsing is finished. It works when typing slowly, but

[QScintilla] Slowdown with multiple widgets

2018-11-23 Thread Matic Kukovec
Hi guys, I'm using PyQt5.11.3 and QScintilla2.10.8. When I create a QMainwindow with a menubar and three QSplitters, with a QsciScintilla widget with a custom lexer in one of them and empty frames into the other splitter slots, the QsciScintilla editor behaves normally. But when I add a couple

[QScintilla] Fw: Slowdown with multiple widgets

2018-11-23 Thread Matic Kukovec
From: QScintilla on behalf of Matic Kukovec Sent: Friday, November 23, 2018 4:34 PM To: QScintilla Subject: [QScintilla] Slowdown with multiple widgets Hi guys, I'm using PyQt5.11.3 and QScintilla2.10.8. When I create a QMainwindow with a menubar and

[QScintilla] QProgressBar painting error

2019-03-04 Thread Matic Kukovec
Hi, My specs: Windows 10, Python3.7, PyQt5.11.3 When setting the height of a QProgressBar to lower than 14 with setFixedHeight, it's waiting animation (by setting minimum and maximum to the same value) is painted incorrectly. Anything above works 14 fine. Is this a known issue? Matic

Re: [QScintilla] QProgressBar painting error

2019-03-04 Thread Matic Kukovec
My mistake, wrong mailing list. I apologize. From: QScintilla on behalf of Matic Kukovec Sent: Monday, March 4, 2019 10:44 PM To: QScintilla Subject: [QScintilla] QProgressBar painting error Hi, My specs: Windows 10, Python3.7, PyQt5.11.3 When setting the

[QScintilla] QSciLexer blockStart & blockEnd return type error

2019-03-24 Thread Matic Kukovec
Hi Phil, I have these two methods in a QsciLexerCustom: def blockStart(self, style=0): return data.QByteArray(1, "{") def blockEnd(self, style=0): return data.QByteArray(1, "}") But on pressing Enter inside the editor always throws: TypeError: invalid result from MyLexer

Re: [QScintilla] QSciLexer blockStart & blockEnd return type error

2019-03-24 Thread Matic Kukovec
Excellent, thanks Phil. From: Phil Thompson Sent: Sunday, March 24, 2019 12:37 PM To: Matic Kukovec Cc: QScintilla Subject: Re: [QScintilla] QSciLexer blockStart & blockEnd return type error On 24 Mar 2019, at 11:15 am, Matic Kukovec wrote: > > Hi P

[QScintilla] Resetting a lexer resets margin font?

2020-03-29 Thread Matic Kukovec
Hi guys, In the example in the attachment (lexer_change.py) when reseting the lexer of the QSciScintilla editor by pressing the button RESET LEXER on the top, the margin font gets reset to the default and brace matching becomes weird (the braces move to the left when the cursor is on a brace-pai

Re: [QScintilla] Resetting a lexer resets margin font?

2020-04-09 Thread Matic Kukovec
From: Phil Thompson Sent: Monday, April 6, 2020 12:45 PM To: Matic Kukovec Cc: QScintilla Subject: Re: [QScintilla] Resetting a lexer resets margin font? On 29/03/2020 21:11, Matic Kukovec wrote: > Hi guys, > > In the example in the attachment (lexer_change.py) when reseting the &

[QScintilla] Possible bug with 'selectedText' while Ctrl+Mouse movement

2020-04-21 Thread Matic Kukovec
Hi, This bug is only present on Linux! In the attachment is an example of the error. How to reproduce it: Without changing any text inside the QScintilla editor, set the cursor to the beginning of the first line, press and hold the CTRL key and drag the mouse to the end of the first line. After

Re: [QScintilla] Possible bug with 'selectedText' while Ctrl+Mouse movement

2020-04-22 Thread Matic Kukovec
On 22/04/2020 15:00, Matic Kukovec wrote: >> On 21/04/2020 21:11, Matic Kukovec wrote: >>> Hi, >>> >>> This bug is only present on Linux! >>> >>> In the attachment is an example of the error. How to reproduce it: >>> Without changing any

Lexer with nested comments?

2021-11-23 Thread Matic Kukovec
Hi guys, Is it possible to implement nested comments in a QSciLexerCustom? I see that lexers like QSciLexerD have a CommentNested enum, but they cannot be stacked, it only looks at the first "/*" and last "*/". So if you do for example this: /* my first comment here /* my nested comment h

Get caret position as QPoint?

2021-12-04 Thread Matic Kukovec
Hi, Is it possible to get the caret position as a QPoint? There is getCursorPosition and positionFromLineIndex, but those don't help with getting the caret position on screen. Thanks, Matic

Some shortcuts not propagating

2021-12-08 Thread Matic Kukovec
Hi guys, I am trying to understand why shortcuts "Ctrl+/", "Ctrl+-" and "Ctrl++" do not get propagated from the QSciScintilla widget to the QMainWindow, which has these shortcuts defined. Example: QMainWindow has a QShortcut "Ctrl+/" defined and bound to a simple 'print("HERE")' function. The

Some shortcuts not propagating

2021-12-08 Thread Matic Kukovec
-requ...@riverbankcomputing.com > > You can reach the person managing the list at >qscintilla-ow...@riverbankcomputing.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of QScintilla digest..." > > > Toda

Some shortcuts not propagating

2021-12-08 Thread Matic Kukovec
Also tried on Linux (Lubuntu x64), same behaviour. From: Matic Kukovec Sent: Wednesday, December 8, 2021 2:25 PM To: Roland Hughes Cc: QScintilla Subject: Some shortcuts not propagating Hi Roland, 1.) Same behavior with both control keys? ​Yes 2.) Are you

Re: Some shortcuts not propagating

2021-12-08 Thread Matic Kukovec
gards From: Thomas Lübking Sent: Wednesday, December 8, 2021 3:05 PM To: Matic Kukovec Cc: QScintilla Subject: Re: Some shortcuts not propagating Am Wed, Dec 08, 2021 at 10:08:22AM + schrieb Matic Kukovec: >(The QScintilla widget does NOT have that key shortcut

SCN_MODIFIED signal error?

2022-06-04 Thread Matic Kukovec
Hi, My specifications: * Lubuntu x64 (same problem on Windows 10) * PyQt 6.3.0 * QScintilla 2.13.3 On executing the code below, every text change on PyQt6.3.0 / QScintilla 2.13.3 throws a: TypeError: unable to convert a QVariant back to a Python object Is there something I'm doing

Re: SCN_MODIFIED signal error?

2022-06-05 Thread Matic Kukovec
From: Phil Thompson Sent: Sunday, June 5, 2022 2:24 PM To: Matic Kukovec Cc: QScintilla Subject: Re: SCN_MODIFIED signal error? On 04/06/2022 17:42, Matic Kukovec wrote: > Hi, > > My specifications: > > * Lubuntu x64 (same proble

Margin mouse hover / tooltip?

2022-11-08 Thread Matic Kukovec
Hi, Does anybody know if it's possible to catch a "MouseMove" or "ToolTip" event on a margin and knowing it's on a margin? I am adding markers to a margin and would like to display a tooltip or statustip for the markers on mouse hover. Thanks, Matic

Re: Margin mouse hover / tooltip?

2022-11-08 Thread Matic Kukovec
Very good! Thanks Baz From: Baz Walter Sent: Tuesday, November 8, 2022 2:34 PM To: qscintilla@riverbankcomputing.com Subject: Re: Margin mouse hover / tooltip? On 08/11/2022 09:27, Matic Kukovec wrote: > Does anybody know if it's possible to catch a &q

Re: Margin mouse hover / tooltip?

2022-11-08 Thread Matic Kukovec
Excellent, thanks Detlev! From: Detlev Offenbach Sent: Tuesday, November 8, 2022 2:46 PM To: Matic Kukovec; Baz Walter; qscintilla@riverbankcomputing.com Subject: Re: Margin mouse hover / tooltip? Hi, I realize this receipe in the eric code editor for the

Margin overpaint with 'setEolVisibility(True)'

2022-11-27 Thread Matic Kukovec
Hi, My Specs: Python 3.10.4 x64, PyQt 6.4.0, QScintilla 2.13.3 When having at least one margin and setting 'QsciScintilla.setEolVisibility(True)', this is what happens to the margin when scrolling horizontally: [cid:0703ea12-9f1d-4fdc-834f-5032ae002ed2] Is this a bug in QScintilla or in the unde

'setEolMode' bug?

2023-03-10 Thread Matic Kukovec
Hi, My specs: * Windows 10 x64 * Python 3.9.13 x64 * PyQt6 6.4.2 * PyQt6-QScintilla 2.13.4 When using the 'setEolMode' function with an integer value, in my case 2 (SC_EOL_LF), the function accepts it but behaves weird, the cursor disappears when pressing ENTER at the end of a

Re: 'setEolMode' bug?

2023-03-22 Thread Matic Kukovec
From: Phil Thompson Sent: Monday, March 20, 2023 3:40 PM To: Matic Kukovec Cc: QScintilla Subject: Re: 'setEolMode' bug? On 10/03/2023 11:56, Matic Kukovec wrote: > Hi, > > My specs: > > * Windows 10 x64 > * Python 3.

Key shortcut bug!

2023-05-12 Thread Matic Kukovec
Hi, Specs: * Windows 10 * English keyboard layout * Python 3.10 * QScintilla 2.14.0 (latest) In any application with a QScintilla widget, when entering the key-combination: Windows-key + / ( [cid:074ff0a5-50e9-4df6-a1d2-1c7e885f73c9] + [cid:416157b3-63db-442d-b0c4-4b6fe82fbc2f

Re: Key shortcut bug!

2023-05-16 Thread Matic Kukovec
= PyQt6.QtWidgets.QApplication(sys.argv) editor = PyQt6.Qsci.QsciScintilla() editor.show() application.exec() Regards, Matic From: Matic Kukovec Sent: Friday, May 12, 2023 8:26 PM To: QScintilla Subject: Key shortcut bug! Hi, Specs: * Windows 10

Re: Key shortcut bug!

2023-05-23 Thread Matic Kukovec
Hi Phil, Confirming that on the latest snapshot there is no more crash 👍👍 Regards Matic From: Phil Thompson Sent: Monday, May 22, 2023 12:17 PM To: Matic Kukovec Cc: QScintilla Subject: Re: Key shortcut bug! On 12/05/2023 19:26, Matic Kukovec wrote: >

Python3.9 PyPi installation error in Docker

2023-05-24 Thread Matic Kukovec
Hi, I have an Ubuntu machine where I'm trying to install PyQt6-QScintilla package from PyPi (Python 3.9) in a Docker image (http://quay.io/pypa/manylinux_2_28_x86_64:latest), but skips all the wheels and tries to compile (and fails) the QScintilla2.14.0 from the source tarball: #0 4.679 Skipp

Re: Python3.9 PyPi installation error in Docker

2023-05-24 Thread Matic Kukovec
rds, Matic From: Detlev Offenbach Sent: Wednesday, May 24, 2023 11:27 AM To: Matic Kukovec; QScintilla Subject: Re: Python3.9 PyPi installation error in Docker Hello Matic, this is probably caused by the baseline Docker image having a glibc of version less than 2.32. Yo

Re: Python3.9 PyPi installation error in Docker

2023-05-24 Thread Matic Kukovec
Offenbach Sent: Wednesday, May 24, 2023 12:10 PM To: Matic Kukovec; QScintilla Subject: Re: Python3.9 PyPi installation error in Docker Hi, unfortunately I am not able to recommend any specific Docker image, but any based on Ubuntu 22.4 or a recent Fedora would be ok. Debian 11 or openSUSE 1

Chinese characters?

2023-12-01 Thread Matic Kukovec
Hi guys, Specs: * Windows 10 x64 * Python 3.12 * PyQt6.5.3 / QScintilla2.14.1 Anyone know why I can't get Chinese characters to display correctly: [cid:a6eb4b63-b2fe-4876-8bfe-770ea99d7d8e] I'm using the "Courier New" font and "self.setUtf8(True)". Also tried "self.SendScintilla(self.

Re: Chinese characters?

2023-12-01 Thread Matic Kukovec
Found the problem. I was always reading the file with the 'open' function using the 'utf-8' encoding. Changing the enoding to "gb2312" fixed it. Regards, Matic ________ From: Matic Kukovec Sent: Friday, December 1, 2023 7:56 PM To