fedora14 下 安装 sciTE 编辑器(类似 NotePad++)

fedora14 下 安装 sciTE 编辑器(类似 NotePad++)

从官网上下载如下文件,放于同一目录

gscite228.tgz
locale.zh_cn.properties
api/*.api (自己创建api目录,关于api配置请参考官方说明)
SciTEUser.properties(自己创建的个人配置文件),参考内容如下:
#option if you want to use the icons of the current GTK theme, personally I like the default icons
#toolbar.usestockicons=1
 
#auto maximize the window
position.maximize=1
 
#default tool bars, reminds me of NP++
toolbar.visible=1
 
#so you can see the full path of the file on top
title.full.path=1
 
#singleton instance ¡ª ie I dont want to see many editors, opening files will simply create a new tab
check.if.already.open=1
 
#make teh status bar at the bottom visible
statusbar.visible=1
 
#this will save the last session, so when scite is fired up the files from the previous session are loaded.
save.session=1
 
#save list of recent files

save.recent=1


#simplified chinese
#code.page=936
#character.set=134
if PLAT_GTK
    output.code.page=936
#UTF-8
code.page=65001
#LC_CTYPE=en_US.UTF-8


tabsize=4
indent.size=4
tabbar.multiline=1
line.margin.visible=1
autocompleteword.automatic=1
find.replace.advanced=1
fold.margin.colour=#0AFFDD
fold.margin.highlight.colour=#FF0022
highlight.current.word=1
#highlight.current.word.by.style=1
highlight.current.word.colour=#00AAFF
#are.you.sure.on.reload=1
if PLAT_GTK
    locale.properties=/usr/share/scite/locale.zh_cn.properties

----------------------------

linux 下快捷安装方法

解压 gscite228.tgz
tar -xzvf gscite228.tgz

将以下内容保存成 install_sciTE.sh
#!/bin/bash

if [ $# -ne 1 ]; then
    echo "usage: $0 program_dir"
    echo "example: $0 gscite"
    exit 65
fi

EXEDIR=/usr/local/bin
CONFDIR=/usr/share/scite
PICDIR=/usr/share/pixmaps

cd $1
cp -pf SciTE $EXEDIR/sciTE
if [ ! -d $CONFDIR ]; then
    mkdir -p $CONFDIR
fi
cp -pf *.properties $CONFDIR

if [ ! -d $PICDIR ]; then
    mkdir -p $PICDIR
fi
cp -pf Sci48M.png $PICDIR

cd -
cp -pf locale*.properties $CONFDIR
cp -Rpf api/ $CONFDIR/api
chmod 755 /usr/local/bin/sciTE
chmod -R 755 $CONFDIR
chmod -R 755 $PICDIR

cp -pf SciTEUser.properties /root/.SciTEUser.properties

exit
#---------------------------------------
以root 用户
chmod +x install_sciTE.sh
./install_sciTE.sh gscite

按需要给其他系统用户添加个人配置文件,如
cp -pf SciTEUser.properties /home/mayjie/.SciTEUser.properties
-----------------
感觉还可以,不过没有函数列表,有些遗憾。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值