Difference between revisions of "Talk:Patch Messaging Change "Enter Key" To Create Newline"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Hopspitfire (talk | contribs) m (Talk:Change Enter To Create Newline Instead of Send Message moved to Talk:Patch Messaging Change "Enter Key" To Create Newline: app specific patch)  | 
				|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
this is a useful mod, thx for sharing!  | this is a useful mod, thx for sharing!  | ||
| − | as for displaying the newlines and spaces in the message body, the issue is that pretty much everything is a web page.  therefore you have to wrap the message text in <nowiki><pre></nowiki> tags to preserve the format.  see [[  | + | as for displaying the newlines and spaces in the message body, the issue is that pretty much everything is a web page.  therefore you have to wrap the message text in <nowiki><pre></nowiki> tags to preserve the format.  see [[Patch_Messaging_Adding_Timestamps_to_All_Received_Messages#Add_Timestamps_to_All_Messages_-_another_approach|this link]] for a solution to the problem.  | 
| + | : That is one method, although the <nowiki><pre></nowiki> tag makes the text look like a typewriter and prevents word wrapping from occurring correctly.  A better alternative is actually replace the newline characters with <nowiki><br></nowiki> tags before the message is rendered.   | ||
| + | : [[User:Tk102|Tk102]] 00:06, 24 August 2009 (UTC)  | ||
| + | |||
| + | This is great. I am often hitting enter by accident and sending before I'm ready, so please also include how to do the opposite of your plan: enter does a new line and shift-enter sends. Thanks!!!  | ||
Latest revision as of 00:06, 24 August 2009
this is a useful mod, thx for sharing!
as for displaying the newlines and spaces in the message body, the issue is that pretty much everything is a web page. therefore you have to wrap the message text in <pre> tags to preserve the format. see this link for a solution to the problem.
- That is one method, although the <pre> tag makes the text look like a typewriter and prevents word wrapping from occurring correctly. A better alternative is actually replace the newline characters with <br> tags before the message is rendered.
 - Tk102 00:06, 24 August 2009 (UTC)
 
This is great. I am often hitting enter by accident and sending before I'm ready, so please also include how to do the opposite of your plan: enter does a new line and shift-enter sends. Thanks!!!