Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highlighting problems after /\|/ #40944

Closed
schuan01 opened this issue Dec 29, 2017 · 1 comment
Closed

highlighting problems after /\|/ #40944

schuan01 opened this issue Dec 29, 2017 · 1 comment
Assignees
Labels
languages-basic Basic language support issues

Comments

@schuan01
Copy link

schuan01 commented Dec 29, 2017

Steps to Reproduce:

  1. Copy the code after this steps in a new file.
  2. See the bad coloring(all red) after "my @linea = split /|/, $LINEA;"

---- EXAMPLE CODE ---

my $LINEA = $_;
	chomp( $LINEA );
	my @LINEA = split /\|/, $LINEA;
	
	$HOJATNO++;

	# creamos el lote
	if ( not ref $LOTE_REF ) {
		#Supongo que 
		my ( $EMISION, $ORDEN, $LOTE) = ( $LINEA[$POS_EMISION], $LINEA[$POS_ORDEN], $LINEA[$POS_LOTE] );
		
		$LOTE_REF = CE::Lote->new(-lote => $LOTE, -ambiente => $AMBIENTE, -cliente => $CLIENTE, -trabajo => $TRABAJO,-emision => $EMISION, -orden => $ORDEN );
	}
	
	#Leo datos que necesito
	my ( $SPOOL, $INTERNO, $HOJA ) = ( $LINEA[$POS_SPOOL], $LINEA[$POS_INTERNO], $LINEA[$POS_HOJA] );
	my ( $IMPRIME, $GENERA, $VISUALIZA ) = ($LINEA[$POS_IMPRIME], $LINEA[$POS_GENERA], $LINEA[$POS_VISUALIZA] );
	my ( $VALOR_CRITERIO1A, $VALOR_CRITERIO1B ) = ( $LINEA[$POS_CEDULA], $LINEA[$POS_TIPORECIBO] );
	my ( $VALOR_CRITERIO2A, $VALOR_CRITERIO2B ) = ( $LINEA[$POS_NROEMPLEADO], $LINEA[$POS_TIPORECIBO] );
	my $VALOR_CRITERIO3A = $LINEA[$POS_GENERACION];
@Tyriar Tyriar added the languages-basic Basic language support issues label Jan 2, 2018
@aeschli aeschli changed the title Bad color formatting Perl files highlighting problems after /\|/ Jan 11, 2018
@aeschli
Copy link
Contributor

aeschli commented Jan 11, 2018

This issue was moved to textmate/perl.tmbundle#28

@aeschli aeschli closed this as completed Jan 11, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
languages-basic Basic language support issues
Projects
None yet
Development

No branches or pull requests

3 participants