CodePaster: Disable undo/redo buffer

Task-number: QTCREATORBUG-7645
Change-Id: I51b0301b5bc376f45deb5925bda8db936973aaef
Reviewed-by: hjk <hjk121@nokiamail.com>