Option to display control characters in gedit

前端 未结 2 1734
天涯浪人
天涯浪人 2020-12-28 11:21

I\'m a newbie to Linux. Is there a way to see the control characters in gedit. I went to options->preferences and all I got is option to see the line numbers of the text fil

相关标签:
2条回答
  • 2020-12-28 12:12

    As said in the other answer you need to install the Draw-Spaces plugin in gedit. Once there, I must say, the plugin options are confusing because the word "space" is used with two different meanings, as separation character (including tab) or as a proper space.

    For most applications you need these options. These specific combinations will show leading and trailing proper spaces but not show tabs. This way you can, for example, tell if indentation was not done with tabs.

    0 讨论(0)
  • 2020-12-28 12:16

    There is a gedit-plugins package available for Ubuntu. Install that and take a look at the Draw Spaces section in the gedit preferences. You can configure it to show spaces, tabs, line feeds etc.

    You can use this command in a terminal: sudo apt-get install gedit-plugins

    0 讨论(0)
提交回复
热议问题