b********t 发帖数: 168 | 1 我发现这个richtext 用的是FCKeditor,难怪richtextde property都不work. 有人知道
FCKeditor的ricktext box 怎么用Javascript 把regular Text 加到开头? |
|
b****l 发帖数: 132 | 2 请教Java大拿
我的JTextArea是放进一个JScrollPane里 ,数据一行一行的显示。每一行数据是四个
string。第一个string是ID(人名),后三个是这个ID的相关信息(身高,体重,性别)
现在有一个问题,当你点击某一行text,如何生成一个popup window,显示更多相关信
息(电话号码,地址等等。
在线等,谢谢 |
|
e***e 发帖数: 168 | 3 Hi,
I need to frequently insert a line of text during my programming under vim.
Is there anyway to setup a short cut to do this in vim?
For example, if I want to press a key or a key combination to insert "this
is debug trace" under the current cursor, can I setup this in vim?
thanks! |
|
p******h 发帖数: 8 | 4 enter the following line in your .vimrc file.
map v i"this is debug trace"
you will be able to press v and have the text entered.
This is really a beginner's question. |
|
L*1 发帖数: 11537 | 5 Did I miss the point? It's so simple, you already got a short cut. I've been
using it for almost 20 years:
1. delete the text you want to paste (insert) using x or dd.
For example, if I move the cursor to "d" in "delete", 10x will delete "
delete the", dd will delete the whole line.
2. shift-p to paste it back. Move the cursor to anywhere and do as many
times as you want. |
|
l********g 发帖数: 39 | 6 I have some large text files formated as 12 columns, but with a very large
number of rows, say one million lines. I have about 10 of this kind of files
, maybe more up to 100, which may make a total of several GBs. Thinking
about using cat to merge them.
something like this: $ cat smalljunks*.txt > newlargejunk.txt
The questions:
can the 'cat' command handle these large files? is it possible that it
truncates the files to fit to its limit (if there is any) so that the merge
is incomplete? Becau |
|
|
Z****e 发帖数: 2999 | 8 看了一下video,感觉用处不大啊?
灌水利器是telnet,这个browser还要套个text editor的太慢了... |
|
l*********s 发帖数: 5409 | 9 My question:
under linux, what is the temporal complexity of concatenate two
text files? It is constant or proportional to the size of files to be
joined? |
|
c*******e 发帖数: 8624 | 10 【 以下文字转载自 Unix 讨论区 】
发信人: cheungche (你不乖), 信区: Unix
标 题: 怎么把一个大text文件分成N个小文件
发信站: BBS 未名空间站 (Thu Apr 14 13:58:28 2011, 美东)
我有个大约500GB的文件,想分成比如50个小文件,我现在用
sed 'x,yp',这个命令似乎会从头数x row,然后再数y row,
总之很慢,有效率高点的办法吗? |
|
n****g 发帖数: 74 | 11 不是挖坑
为什么firefox中字体这么丑?是firefox的问题还是系统的问题?上mitbbs,字丑就算
了,字体小的看不见
有没有权威的专家说说那个text editor好?vi算了,windows用长了,不习惯vi了
主要用C++ |
|
l********a 发帖数: 1154 | 12 you can copy some fonts from win as long as you know how to do it.
geany is a good text editor
,you can try code::blocks as well, it's good enough for c++ programmer. |
|
n****g 发帖数: 74 | 13 网上搜text editor真多啊
用了下geany,还不错,主要是gedit没有code folding
暂时先用着 |
|
|
v*****r 发帖数: 1119 | 15 应该改成 拳打emacs,脚踢 Eclipse
vi 从某种角度来说是没有替代的,比如我们server farm的 policy 是 no any type
of Desktop Manager to be installed and for text editors to be installed, vi
only!
ST 很不错,用它以后很少再开 Eclipse 了,问题是用的时候总担心不定那天就
enforce license 了, 那样的话,偶还是要 switch back to Eclipse 的 |
|
v*****r 发帖数: 1119 | 16 it claim to let coder to write elegant code (sublime text). |
|
d****i 发帖数: 4809 | 17 试了试sublime text 2,结果Open new file的菜单都不行,完全就死在那儿了,是bug
吗?也太搞了,居然连打开文件这样的基本功能都有错。 |
|
p****a 发帖数: 38 | 18 现在这台机器装的是minimal linux,是text only。 因为机器比较老,不能装很多东
西,只想再加装一个xwindow的GUI,然后就可以使用netbeans, eclipse。 请问就单单
加装一个图形界面是怎么装呢?需要加装多少东西? x.org server, window manager,
lxde, 这些都要装吗还是只需要其中一部分就可以了?目标是尽可能少装一点,能给
netbeans, eclipse,和web-browser用就可以了。Window manager想装个简单的,比如
fvwm,不想装gnome或者kde。 可以用什么方法装,用rpm或者yum行吗? 多谢! |
|