Amjad Ben Hedhili

Results 98 comments of Amjad Ben Hedhili

Oh, I guess it was Color Highlighter ``` This list shows how much time each plugin has taken to respond to each event: _wrapped_on_load: PackageDev.plugins_.syntaxtest_dev: 0.000s total, mean: 0.000s, max:...

You're right, I didn't notice that, I updated the issue.

I don't want the User to interact with the `arg1` input handler, arg1 value is provided already, I want SM's behaviour of calling `Arg1InputHandler` and resolving it directly with the...

Default.sublime-commands: ```json [ { "caption": "Checkout uriparsing", "command": "checkout_branch", "args": { "branch": "refs/remotes/upstream/uriparsing", }, }, ] ``` ST: ![image](https://user-images.githubusercontent.com/33235928/180303582-a4a10195-273d-4e5a-9c64-950c80eca8f1.png) SM: ![image](https://user-images.githubusercontent.com/33235928/180303598-f31f42bc-b773-4601-89ad-2953c6d4ad96.png)

it requires more hacks to make it work with arbitrary input: ```py import functools import sublime import sublime_plugin class SomeCommand(sublime_plugin.TextCommand): def run(self, edit, arg1, arg2): print(arg1, arg2) def input(self, args):...

Hi, Thanks for your help ! That still produces larger output than gimp Original: ![auto_complete_detail_pane](https://user-images.githubusercontent.com/33235928/153749757-89137bb9-8b9e-4e8f-9109-75be15155a54.png) 157B GIMP: ![auto_complete_detail_pane_gimp](https://user-images.githubusercontent.com/33235928/153749758-19008ae2-84f9-4351-99a4-f817c612741d.png) 103B nimPNG: ![auto_complete_detail_pane_nimPNG](https://user-images.githubusercontent.com/33235928/153749759-8dd37ce7-b67d-477c-8885-f3354e3c4214.png) 134B

I think it's not related to compression. When opening the 3 images in https://www.nayuki.io/page/png-file-chunk-inspector, it shows that gimp only includes `IHDR`, `IDAT` and `IEND` chunks. while nimPNG also includes `PLTE`...

The first code produces 111B (better), gimp produces 103B. The second one produces a corrupt file.

There was the string overload, then the openarray overload was added in 6901a8cb13d19a3d251911af240c5f2a54809eba (https://github.com/nim-lang/Nim/pull/646), Ig the author wasn't aware that `string` is compatible with `openArray[char]`.