Latest post of the previous page:
Super. In Editor and Viewer Settings is selection default Codepage now.Thank you.
Latest post of the previous page:
Super. In Editor and Viewer Settings is selection default Codepage now.Code: Select all
Event {
description="Set 28592 codepage";
group="EditorEvent"; filemask="*.4gl,*.err";
action=function(Id,Event,Param)
if Event == far.Flags.EE_READ then
editor.SetParam(nil, "ESPT_CODEPAGE", 28592)
editor.SetParam(nil, "ESPT_TABSIZE", 3)
end
end;
}
Code: Select all
Event {
description="Set 28592 codepage";
group="ViewerEvent"; filemask="*.4gl,*.err";
action=function(Id,Event,Param)
if Event == far.Flags.VE_READ then
far.MacroPost([[
local cp, favorite = 28592, false
Keys("ShiftAltF9 Down Down 3 Enter")
Keys("ShiftF8")
if Object.ItemCount < 20 then Keys("CtrlH"); favorite = true end
if Menu.Select(cp,1) > 0 then Keys("Enter") else Keys("Esc") end
if favorite then Keys("ShiftF8 CtrlH Esc") end
]])
end
end;
}
This is because KMFLAGS_DISABLEOUTPUT is no longer valid. Please delete "KMFLAGS_DISABLEOUTPUT" and restart Far.Far3c wrote:There is printing error "invalid flag combination"
far:config
and find Codepages.NoAutoDetectCP.