languages/gen_lyx.py
def replace_reserved_sign(self, text):
		"""
		Replace reserved character of "_" in the lyx hypertext function.
		Arguments:
			text		Text to replace the option in
		Returns:
			Text with reserved characters replaced with according backslash
			option.
		"""
		retVal = ""
		for char in text:
			if (char == "_"):
				retVal += "\\backslash textunderscore "
			elif (char == """\ """):
				retVal += "\\"
			else:
				retVal += char
		return retVal

		Replace reserved character of "_" in the lyx hypertext function.
		Arguments:
			text		Text to replace the option in
		Returns:
			Text with reserved characters replaced with according backslash
			option.
		
Replace reserved character of "_" in the lyx hypertext function.
Arguments:
text            Text to replace the option in
Returns:
Text with reserved characters replaced with according backslash
option.
Replace reserved character of " _ " in the lyx hypertext function . Arguments : text Text to replace the option in Returns : Text with reserved characters replaced with according backslash option .
def replace_reserved_sign(self, text):
		retVal = ""
		for char in text:
			if (char == "_"):
				retVal += "\\backslash textunderscore "
			elif (char == """\ """):
				retVal += "\\"
			else:
				retVal += char
		return retVal
def replace_reserved_sign ( self , text ) : retVal = "" for char in text : if ( char == "_" ) : retVal += "\\backslash textunderscore " elif ( char == """\ """ ) : retVal += "\\" else : retVal += char return retVal
Replace reserved character of "_" in the lyx hypertext function.
Replace reserved character of " _ " in the lyx hypertext function .
"""
		Replace reserved character of "_" in the lyx hypertext function.
		Arguments:
			text		Text to replace the option in
		Returns:
			Text with reserved characters replaced with according backslash
			option.
		"""
self
text