在UBUNTU的Gedit中,如何显示空格和换行符

原文连接:http://blog.sina.com.cn/s/blog_7a9c930d01017i2h.html
html

查了好多资料,最后发现一个命令就能够搞定~~
[安装]
输入下面的命令:
$sudo apt-get install gedit-plugins
会安装下面的插件:
* Show/Hide Tabbar: Add a menu entry to show/hide thetabbar.
* Bracket Completion: Automatically adds closingbrackets.
* Draw Spaces: Draw Spaces and Tabs
* Embedded Terminal: Embed a terminal in the bottompane.
* Color Picker: Pick a color from a dialog and insert itshexadecimal representation.
* Session Saver: Save and restore your workingsessions
* Join/Split Lines: Join several lines or split longones
* Smart Spaces: Forget you’re not usingtabulations.
* Character Map: Insert special characters just by clicking onthem.
* Code comment: Comment out or uncomment a selected block ofcode.
插件(Draw Spaces)就是咱们须要的。
[配置]
打开Gedit,点击“edit”->"preferences"->"plugins"。
找到“Draw Spaces”选项,选中,并点击“configure plugin”,在弹出的窗口中选择“Draw newlines”。
OK!
session