scintilla-wrapper's People
scintilla-wrapper's Issues
Patch for 32 and 64 bit (dlls from AutoGUI)
For one reason or another I can't properly clone and update this repo to GitHub so I use this method. In the ZIP file 32 and 64 DLL versions of the scilexer DLL which I copied from AutoGUI
Everything works apart from the "Highlight Test.ahk" example but that is most likely because AutoGUI uses a different method[1] compared to the method you used here.
If this is updated we can link to this from the AutoHotkey document / help which currently only links to HiEdit which only works for AutoHotkey 32bit Ansi.
Or should the https://github.com/ahkscript/scintilla-wrapper be updated instead of this repo?
[1] https://www.autohotkey.com/boards/viewtopic.php?p=189917#p189917
TODO: fix sci wrapper error that sets variable to 5 when calling GetText
sci[1].GetText(sci[1].GetLength()+1, _code)
When calling this function the variable is set to the number 5 due to some error.
Error lParam &lParam
Also see [Wrapper] Scintilla Wrapper v1.4.2.4 - Page 8 - Scripts - AutoHotkey Community
in Examples\5-get_text.ahk
For example, when use sci.SetText(unused, "2 ")
in line 16, it raise 3 error:
The following variable name contains an illegal character"2 "
in Line 333,sci.GetText(sci.getLength()+1, myvar)
return1
inmyvar
,- "2 โ doesn't set to Sci's content.
Another problem. I try to migrate to AHK V2, although there is not much different.There is my fork (I'm an beginner).
But I must change and use lParam
in buf ? (lParam := StrGet((msg = "GetTextRange") ? blParam : lParam, "CP0"), buf:=false) : null
in line 85 within function __call
, while it has to be &lParam
.
- In original V1,
lParam
is address before__sendEditor(this.hwnd, "GetText", Length, lParam)
and a string buffer after? - In V2,
lParam
is address. I don't konw why?!
The error above is bound up with the lParam
problem. Test other value such as sci.SetText(unused, "22")
.
Please help~
BTW, I replace %lParam%+0
with (- - lParam!=lParam and %lParam%+0)
in Line 333, this also works in AHK V2.
illegal characters
With version In 7-lex_basichighlight.ahk and in Highlight Test.ahk I am getting errors, but everything works in an older version I have (it says v1.4.3.5 (Modification Date: April 28, 2013) - but even this version says that...)
AutoHotkey 1.1.22.03 Unicode on Windows 7 Pro x64
And in 8-lex_advancedhighlight.ahk the search doesn't hightlight.
Here are the screenshots
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.