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

Hitting TAB after breaking inline style crashes SublimeText 3 #2203

Closed
jeyhunmikayil opened this issue Feb 24, 2018 · 6 comments
Closed

Hitting TAB after breaking inline style crashes SublimeText 3 #2203

jeyhunmikayil opened this issue Feb 24, 2018 · 6 comments

Comments

@jeyhunmikayil
Copy link

jeyhunmikayil commented Feb 24, 2018

Program crashing when breaking inline style into new line.

For example the line: style="height: 250px; background-color: #ccc; margin-bottom: 10px;"

Crashes after: style=" /* break line and hit tab crashes the app */
( TAB HERE ) height: 250px; background-color: #ccc; margin-bottom: 10px;">

I am using:
bootstrap 4
jquery
fontawesome
win 10 64bit last updated
8 gb RAM
Core i5
SSD 256 GB

untitled

@FichteFoll
Copy link
Collaborator

Please post your sample code enclosed with three backticks, i.e. ```\ncode\n```. Also add your ST build.

@jeyhunmikayil
Copy link
Author

SublimteText Build 3143.
If to break line before "height" on line 8 to new line and hit TAB after program crashes.

<?php get_header(); ?>
<div class="row" style="padding-top: 20px;">
<?php
if (have_posts()) :
while (have_posts()) : the_post(); ?>
<div class="col-md-3 link_dark">
<a href="<?php the_permalink(); ?>">
<div class="category_item_product" style="height: 100px;">
	<img class="img-fluid product-thumbnail" src="<?php the_post_thumbnail_url();?>">
	<div class="text">
	<div class="title"><?php the_title(); ?></div>
	<div class="description">
		
		<?php 
			$description = get_post_meta(get_the_ID(), 'description', true);
			echo substr($description, 0, 100). " ...";
		?>


	</div>
	</div>
</div>
</a>
</div>

<?php endwhile;

else :
echo '<h2>Not Found :(</h2>';
endif;?>

</div>
<?php get_footer();?>\n```

@jeyhunmikayil jeyhunmikayil changed the title Inline style line break crashes the app Hitting TAB after breaking inline style crashes SublimeText 3 Feb 25, 2018
@FichteFoll
Copy link
Collaborator

Works for me on 3167 and Arch Linux.

@jeyhunmikayil
Copy link
Author

I am using Windows 10 Pro 64 bit (10.0, Build 16299). I have faced this several times.

@keith-hall
Copy link
Collaborator

Uninstall Emmet and your problems will go away.

@keith-hall
Copy link
Collaborator

also a duplicate of #1543, #1570

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants