Comments (4)
@chcg seems to work fine for the use case I've been testing (set/getElementColour()
)!
Thank you! Shall I go ahead and close PR #277 ?
from pythonscript.
@vinsworldcom See checkin comment on:
Revision: 1e090b7
Message:
- update to N++ interfaces for 8.4.7 with scintilla 5.3.1 and lexilla 5.2.0
- still open issue: handling of colouralpha and related calls, currently just handled like colour, so alpha info is missing
So I'm aware of the problem. I think it needs to be handled by the pythonscript https://github.com/bruderstein/PythonScript/blob/master/PythonScript/src/CreateWrapper.py otherwise the changes to https://github.com/bruderstein/PythonScript/blob/master/PythonScript/src/ScintillaWrapperGenerated.cpp are lost on next integration of Scintilla changes.
Maybe https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-rgbquad, unfortunately wingdi doesn't contain alpha by default. Changing [PythonLib/full/ctypes/wintypes.py] is problematic as this is taken from python installations and likely gets lost again after a python version update.
from pythonscript.
@chcg great feedback. Thank you. I'm still a little lost as to how python script gets put together but certainly happy with the product!
I'm using the artifact of my commit now and it's working fine as expected, but understand that with an upgrade those changes I made will get over written. I basically treat color alpha as just an integer (32 bits)
Cheers.
from pythonscript.
@vinsworldcom Could you please check if the change is ok for your needs.
from pythonscript.
Related Issues (20)
- notepad.getCurrentDocIndex(v) doesn't return -1 if view 'v' is not open HOT 2
- Return handles of notepad, editor1, editor2 HOT 11
- How to obtain NPP bookmark ID HOT 9
- [Feature Request] console.show() without putting input focus in console HOT 3
- notepad.prompt() window and multiline input HOT 6
- Unicode characters in message box not displayed correctly HOT 2
- documentation error for notepad.allocateMarker() function HOT 1
- [Feat Req for Documentation] Improvements for selection-setting functions HOT 2
- Problem detecting saved/unsaved file state at startup HOT 5
- [Feat. Req.] Consider adding notepad.getNppConfigDir() HOT 1
- No access to `NPPM_ISDARKMODEENABLED` message
- getLexer and setLexer do not work HOT 14
- editor.rereplace() should not replace if data isn't going to be changed HOT 4
- Run a script and pass parameters to it from an NPP-external script / program? HOT 8
- Separate commands for opening and closing the console from the Plugin menu HOT 5
- Custom autocomplete provider. HOT 3
- Problem with editor.research() taking None for maxCount parameter HOT 2
- Run Previous Script HOT 3
- Add Begin/End Select in Column Mode to MENUCOMMAND
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pythonscript.