I found scrolling in notepad++ to be extremely sensitive to horizontal scroll, causing the scrolling through tabs when scrolling with two fingers. A fix for this while keeping two finger scroll is to disable horizontal scrolling only, which I managed by this answer:
- Install "libinput-tools" (this package name is slightly different from 16.04) and dependencies in terminal by running the following commands:
sudo apt update
sudo apt install libinput-tools
- Then enter the following line in terminal
sudo gedit /usr/share/X11/xorg.conf.d/40-libinput.conf
- The file will open in text editor. In the touchpad section, just before the line indicating the end of the section, add the following line:
Option "HorizontalScrolling" "False"
- Save and close the configuration file and restart. Horizontal scrolling should be disabled.