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

ConEmu.Editor.lua bug #1583

Open
Maximus5 opened this Issue Jul 31, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@Maximus5
Owner

Maximus5 commented Jul 31, 2015

Originally reported on Google Code with ID 1583

local ConEmu   = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"

Macro {
  area="Shell Search"; key="F3 F4"; flags="NoPluginPanels"; description="ConEmu: Auto
switch to Editor Tab"; action = function()

  k = akey(1,1);

  if   not APanel.Empty  and  (APanel.Current~="..") then 
    s=APanel.Path..mf.iif(mf.substr(s,mf.len(s)-1)=="\\","","\\")..APanel.Current;
----------------

Переменная "s" не объявлена локальной, поэтому в mf.len(s) попадает значение глобальной
s из RESearch.lua, вызывая ошибку при попытке открытия файлов во вьювере и в редакторе
FAR3.

Reported by c2h5oh777 on 2014-05-22 07:47:42

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Jul 31, 2015

Owner
https://github.com/Maximus5/ConEmu/commit/28f75735a3e9d1651637518d52c53c94abe6ff5d

Reported by ConEmu.Maximus5 on 2014-05-22 07:57:03

Owner

Maximus5 commented Jul 31, 2015

https://github.com/Maximus5/ConEmu/commit/28f75735a3e9d1651637518d52c53c94abe6ff5d

Reported by ConEmu.Maximus5 on 2014-05-22 07:57:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment