Code Monkey home page Code Monkey logo

scintilla-wrapper's People

Contributors

raptorx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.

scr-32-64.zip

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

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) return 1 in myvar,
  • "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

screenshot_autohotkey autohotkey unicode 32-bit _032

screenshot_autohotkey autohotkey unicode 32-bit _033

screenshot_autohotkey autohotkey unicode 32-bit _034

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.