#9584
takuya
参加者

江村様、ありがとうございます。
将来のバージョンで搭載されることを願います。

将来のバージョンで搭載されるまでの間。マクロで代用しようと思います。

しばらくはマクロをBackspaceに割り当てて、我慢することにします。

スペースをタブのように扱うマクロを書いておきました。

Window.Redraw=false
t = document.Config.Indent.TabColumns
x = document.selection.GetActivePointX(eePosLogical)
y = document.selection.GetActivePointY(eePosLogical)
document.selection.StartOfLine(true)
text=document.selection.Text
document.selection.Collapse()
document.selection.SetActivePoint(eePosLogical,x,y,false)
if(text.match(/^s+$/)){
document.selection.DeleteLeft(t)
}else{
document.selection.DeleteLeft(1)
}
Window.Redraw=true