Project

General

Profile

Feature #213

Add a multiline write line with a toogle button like Chatzilla

Added by ZRegis almost 13 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Quassel Client
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
OS:
Any

Description

Sometimes you want to add edit and send a text with multi lines reply.
The possibility to have a multi line space to edit could be a great new feature.

Regarding also to the 0000209 bug.

The chatzilla client give a good example for that.


Related issues

Related to Quassel IRC - Feature #443: Tab completion should show list of possible matchesAssigned

Related to Quassel IRC - Bug #209: multiple lines in a buffer are sent automatically upon a pasteResolved

Has duplicate Quassel IRC - Feature #386: Expand input box when multiple lines are pastedRejected

Associated revisions

Revision f047a4f7 (diff)
Added by Manuel Nickschas over 11 years ago

Introduce multi-line editing for the inputline

This introduces the new MultiLineEdit that basically enhances the old InputLine widget by being
able to expand to show more than one line. All non-editing related things have been moved out of the
MultiLineEdit to ease reuse in other widgets. For example, InputWidget-specific keypresses are now handled
in InputWidget rather than MultiLineEdit.

Closes #209, closes #213, fixes #386. Thanks to Squider for input (I saw your patch too late, but I did refactor
things anyway...)

History

#1 Updated by sph over 12 years ago

I'm not sure about the toggle button, but using ctrl-enter or shift-enter to switch to multiline mode and add a new line would be nice.

Also, it'd be great if it automatically recognizes a multiline copy/paste (and removes the last newline at the end) rather than sending them right away without any chance of editing.

#2 Updated by Squider about 12 years ago

I found some free time and decided to make something nice for you all. The included patch is against the current git master.

  • The input line now automatically expands up to 8 lines.
  • Control+Up/Down are now used to scroll the ChatView.
  • Shift+Up/Down are used to manipulate the InputLine.
  • Shift+Return lets you enter a new line.
  • User now can always review pastes before sending to IRC.

And what comes to those traling newlines, empty lines are not sent at all (like before).

#3 Updated by Squider about 12 years ago

Squider wrote:

I found some free time and decided to make something nice for you all. The included patch is against the current git master.

  • The input line now automatically expands up to 8 lines.
  • Control+Up/Down are now used to scroll the ChatView.
  • Shift+Up/Down are used to manipulate the InputLine.
  • Shift+Return lets you enter a new line.
  • User now can always review pastes before sending to IRC.

And what comes to those traling newlines, empty lines are not sent at all (like before).

Sorry, I mistakenly commented out one preprocessor block. Here is a patch reverting that change.
This patch also removes some unneeded margin-space when using Qt < 4.5.

#4 Updated by Sputnick over 11 years ago

  • Status changed from New to Assigned
  • Assignee set to Sputnick
  • Priority changed from High to Normal
  • Target version set to 0.5.0

#5 Updated by Sputnick over 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF