add add_signal method
push to history_stack cursor_position with buffer text