use VIM to clear TcxButton.Glyph inside delphi form (dfm)

来源:互联网 发布:mac上打开txt文档 编辑:程序博客网 时间:2024/06/05 11:45

//sample data

            Properties.Buttons = <
              item
                Default = True
              end>

            Properties.Buttons = <
              item
                Default = True
                Glyph.Data = {
                  26040000424D2604000000000000360000002800000012000000120000000100
    ..........
                Kind = bkGlyph
              end>

//command
:args *.dfm
:argdo %s/ Glyph.Data/_./{-}bkGlyph//igc

:%s/ Glyph.Data/_./{-}bkGlyph//igc

:%s/ Glyph.Data/_./{-}bkGlyph/n//igc
 

原创粉丝点击