New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when quiting the :NRMulti window/buffer #30

Closed
aleprovencio opened this Issue Aug 20, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@aleprovencio

aleprovencio commented Aug 20, 2014

Hello,
making changes to the :NRMulti window/buffer works fine, but I'm getting these errors upon quitting the window:

Erro detectado ao processar function 163_WriteNrrwRgn..163_NrrwRgnAuCmd:
linha 44:
E716: Chave inexistente no Dicionário: winnr "wincmd w"
E15: Expressão inválida: s:nrrw_rgn_lines[a:instn].winnr "wincmd w"

Regards!

@chrisbra chrisbra closed this in b1d7934 Aug 20, 2014

@chrisbra

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra Aug 20, 2014

Owner

Am 2014-08-20 17:08, schrieb aleprovencio:

Hello,
making changes to the :NRMulti window/buffer works fine, but I'm
getting these errors upon quitting the window:

Erro detectado ao processar function
163_WriteNrrwRgn..163_NrrwRgnAuCmd:
linha 44:
E716: Chave inexistente no Dicionário: winnr "wincmd w"
E15: Expressão inválida: s:nrrw_rgn_lines[a:instn].winnr "wincmd w"

Regards!

Thanks for reporting. I think I fixed it.

Best,
Christian

Owner

chrisbra commented Aug 20, 2014

Am 2014-08-20 17:08, schrieb aleprovencio:

Hello,
making changes to the :NRMulti window/buffer works fine, but I'm
getting these errors upon quitting the window:

Erro detectado ao processar function
163_WriteNrrwRgn..163_NrrwRgnAuCmd:
linha 44:
E716: Chave inexistente no Dicionário: winnr "wincmd w"
E15: Expressão inválida: s:nrrw_rgn_lines[a:instn].winnr "wincmd w"

Regards!

Thanks for reporting. I think I fixed it.

Best,
Christian

@aleprovencio

This comment has been minimized.

Show comment
Hide comment
@aleprovencio

aleprovencio Aug 20, 2014

Thanks a lot for your quick fix!
I should mention that the original buffer is keeping the highlight on the chunks that went to the :NRMulti window after quitting it. (not sure if this is intended)

aleprovencio commented Aug 20, 2014

Thanks a lot for your quick fix!
I should mention that the original buffer is keeping the highlight on the chunks that went to the :NRMulti window after quitting it. (not sure if this is intended)

@chrisbra

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra Aug 21, 2014

Owner

Am 2014-08-20 20:07, schrieb aleprovencio:

Thanks a lot for your quick fix!
I should mention that the original buffer is keeping the highlight on
the chunks that went to the :NRMulti window after quitting it. (not
sure if this is intended)

Oh, I didn't notice this. I'll look into it later.
Thanks for the feedback.

Best,
Christian

Owner

chrisbra commented Aug 21, 2014

Am 2014-08-20 20:07, schrieb aleprovencio:

Thanks a lot for your quick fix!
I should mention that the original buffer is keeping the highlight on
the chunks that went to the :NRMulti window after quitting it. (not
sure if this is intended)

Oh, I didn't notice this. I'll look into it later.
Thanks for the feedback.

Best,
Christian

vim-scripts added a commit to vim-scripts/NrrwRgn that referenced this issue Jan 16, 2015

Version 33
- set local options later, so that FileType autocommands don't trigger to early- make sure, shortening the buffer name handles multibyte characters correctly.- new public function nrrwrgn#NrrwRgnStatus()- <Leader>nr also mapped as operator function (so the region over which you move will be opened in the narrowed window- highlighting wrong when char-selecting within a line- needs Vim 7.4- mention how to abort the narrowed window (suggested by David Fishburn, thanks!)- Execute hooks after the options for the narrowed window have been set (issue #29, reported by fmorales, thanks!)- <Leader><Space> Toggles the Narrowed Window Size (idea by David Fishburn, thanks!)- New hook b:nrrw_aucmd_written, to be executed, whenever the narrowed info has been written back into the original buffer.- g:nrrw_rgn_write_on_sync is being deprecated in favor of using the newly written hook- error on writing back multi narrowed window (issue #30, reported by aleprovencio chrisbra/NrrwRgn#30, thanks!)- error when calling Incr Function, Make it override over global mapping. (issue #31, reported by zc he chrisbra/NrrwRgn#31, thanks!)- |:NRP| didn't work as documented (reported by David Fishburn, thanks!)- fix small syntax error in autoload file (issue #32, reported by itchyny (chrisbra/NrrwRgn#32, thanks!)- check, that dict key is available before accessing it (issue #33, reported by SirCorion (chrisbra/NrrwRgn#33, thanks!)(automatically uploaded)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment