Patch against 5.7 Master 2020-11-05.
Patch against 5.7 Master 2020-11-05.
See https://sourceforge.net/p/nedit/patches/184/ for current version of patch
Visible tab stops (tab/space character screen representation)
Patch against 5.7 release.
Patch against 5.7 release.
I have started a patch for Nedit 5.6 that changes the screen representation of the tab (\t) and space ( ) characters to » (char 187) and (char 183) respectively. Here is a summary of the current changes (hard coded); textBuf.c; ~l43: #define VISIBLE_TAB_STOPS_PATCH #ifdef VISIBLE_TAB_STOPS_PATCH #define VISIBLE_TAB_STOPS_PATCH_TAB_REPLACE_FIRST_CHARACTER_ONLY #define VISIBLE_TAB_STOPS_PATCH_TAB_REPLACEMENT_CHAR (char)187 /* '»' default: ' ' */ #define VISIBLE_TAB_STOPS_PATCH_SPACE_REPLACEMENT_CHAR...
A problem with this method is that the tab character highlight gets overridden by the selection background colour while text is selected. This is an issue when selecting a section of text at a specific indentation level.
Hi TK Soh, thanks for your analysis. I recommend implementing your version (TK#1; nedit-tab-indent-tksoh-08072020.diff); it provides the core patch functionality with minimum behavioural changes to the original.
Thank you for performing this detailed experiment. I have added my preferred behaviour below, although the chosen "select part of line" behaviour is somewhat unique and is disputable as a reasonable development target. Visual Studio 2017; select multiple lines: - tab: indents - shift tab: deindents select whole of line; - tab: adds tab - shift tab: no change select part of line; - tab: adds tab - shift tab: deindents position cursor: - tab: indents - shift tab: deindents Textpad 4; select multiple...
Thank you for performing this detailed experiment. I have added my preferred behaviour below, although the chosen "select part of line" behaviour is somewhat unique and is disputable as a reasonable development target. Visual Studio 2017; select multiple lines: tab: indents shift tab: deindents select whole of line; tab: adds tab shift tab: no change select part of line; tab: adds tab shift tab: deindents position cursor: tab: indents shift tab: deindents Textpad 4; select multiple lines: tab: indents...
Thank you for performing this detailed experiment. I have added my preferred behaviour below, although the chosen "select part of line" behaviour is somewhat unique and is disputable as a reasonable development target. Visual Studio 2017; select multiple lines: tab: indents shift tab: deindents select whole of line; tab: adds tab shift tab: no change select part of line; tab: adds tab shift tab: deindents position cursor: tab: indents shift tab: deindents Textpad 4; select multiple lines: tab: indents...
Cheers TK Soh - I have started to test the patch. Some issues I have noticed with this version; 1. It doesn't support deindentation (shift-tab) of indented text when the cursor is placed on the line that is desired to be deindented (e.g. at the end of the indentation/tab characters, the position which is desired to be deindented). It only works when the line(s) are selected/highlighted. 2. Either the entire line must be selected (with cursor position on start of next line) or multiple lines must...
Hi TK Soh. The preprocessor defs are added for development purposes only (the patch is under testing). I have been testing this patch for 6 months now, and have detected these issues; The patch doesn't currently work with emulated tab stops. Assume the cursor is at some position on a line, and the user presses the tab key, an actual tab character will be added (rather than a section of white space emulated the tab character). This limitation does not apply to (de)indenting selected text. The patch...
Patch against 5.6.
Ctrl+Tab Switch - cycle through recently active tabs
kb shortcut: tab indent selection (Shift Left/Right)
Scroll down fails when cursor is at max Y on non-Unity Ubuntu window manager
Here is a patch for Ubuntu 14.04 (freeglut3_2.8.1-1_amd64.deb/freeglut3-dev_2.8.1-1_amd64.deb)...
Here is a more complete list of dependencies; sudo apt-get install python-glade2...
Installing gnome-network-monitor on Ubuntu