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

Apply enlarge to CSS-compatible comments #15

Open
peterschade opened this issue Mar 19, 2019 · 2 comments
Open

Apply enlarge to CSS-compatible comments #15

peterschade opened this issue Mar 19, 2019 · 2 comments

Comments

@peterschade
Copy link

peterschade commented Mar 19, 2019

Something like this:

	if ( $ReadPrm && ( isset($Loc->PrmLst['enlargeCSS'])  ) ) {
		$Loc->PosBeg0 = $Loc->PosBeg;
		$Loc->PosEnd0 = $Loc->PosEnd;
		$enlarge = (isset($Loc->PrmLst['enlargeCSS'])) ? $Loc->PrmLst['enlargeCSS'] : false;
		if (($enlarge===true) || ($enlarge==='')) {
			$Loc->Enlarged = self::f_Loc_EnlargeToStr($Txt,$Loc,'/*' ,'*/');
		}
	}
@Skrol29
Copy link
Owner

Skrol29 commented Mar 19, 2019

Is that a feature to enlarge a TBS field up to the comment block that we have in CSS or Javascript ?

@peterschade
Copy link
Author

Yes

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

No branches or pull requests

2 participants