Some time you may need to restrict width of a line in a text file.
Although IDE like Eclipse and Net Beans already provide such facilities.
But you can use notepad++ in much easy way to do this task.
Here are the details to do that:
Make sure that you have TextFx plugin for Notepad++. If you don't have then download it.
Although IDE like Eclipse and Net Beans already provide such facilities.
But you can use notepad++ in much easy way to do this task.
Here are the details to do that:
Make sure that you have TextFx plugin for Notepad++. If you don't have then download it.
- Go to Settings -> Preferences... -> Editing -> Show vertical edge.
- Set the "Number of Columns" value. This will show you a vertical line on screen.
- Select the text (make sure file is open :)) whose width you want to set.
- Than go to TextFX Edit >> ReWrap text to (Clipboard or 72) width. This will set width to 72 by default.
- If you want set specific width than write that width or number(say 80) anywhere and copy it and remove it.
- Than again go to TextFX Edit >> ReWrap text to (Clipboard or 72) width. This time it will set width of selected text to 80.
No comments:
Post a Comment