Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1723 closed Enhancement (Fixed)

Add preference to not use "//" for escaping

Reported by: lapcat Owned by: timothy
Component: Colloquy (Mac) Version: Local Build
Severity: Normal Keywords:


At there is the following code:

if( [[subMsg string] hasPrefix:@"//"] ) [subMsg deleteCharactersInRange:NSMakeRange( 0, 1 )];

This means that if a line begins with "", the first "/" is deleted. The purpose of this code is to escape the "/" character at the beginning of a line, which is normally used to start a chat command.

I'd like a preference to turn off this deletion of the first "/" of "" at the beginning of a line. The reason is that I tend to paste a lot of source code into IRC, and lines of source code frequently begin with "" to indicate a comment. I would like to preserve the exact text of the source code I'm pasting.

I don't mind if this preference is hidden rather than in the UI.

Change History (2)

comment:1 Changed 11 years ago by zach

  • Resolution set to fixed
  • Status changed from new to closed

Added in [4604].

comment:2 Changed 11 years ago by lapcat


Note: See TracTickets for help on using tickets.