Holding ctrl while selecting in the QGIS expressions and Python script editors allows you to select a multi-line block of text, which can be edited all at once.
This feature was developed by Nyall Dawson (North Road)
This application was created by Kartoza (Pty) Ltd. Available on GitHub! Version: 2.3.1