It is currently April 27th, 2024, 11:41 am

Odd Question About Hiding/Unhiding parts of script

Get help with creating, editing & fixing problems with skins
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Odd Question About Hiding/Unhiding parts of script

Post by CodeCode »

SO the question is simple, but not very thought out, or tested.

I was wondering if a commented line or lines be uncommented, for a single .ini file?

So, to click a button to unhide lines, then hide them again when wanted?

I suppose in forethought that changing all ";" to a space might work with a #variable# then change that variable back to a ";".

Is that possible?

I am not at my pc now so I cannot test it, but airport boredom got tome. O.O
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
Yincognito
Rainmeter Sage
Posts: 7175
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Odd Question About Hiding/Unhiding parts of script

Post by Yincognito »

CodeCode wrote: February 2nd, 2024, 4:50 am SO the question is simple, but not very thought out, or tested.

I was wondering if a commented line or lines be uncommented, for a single .ini file?

So, to click a button to unhide lines, then hide them again when wanted?

I suppose in forethought that changing all ";" to a space might work with a #variable# then change that variable back to a ";".

Is that possible?

I am not at my pc now so I cannot test it, but airport boredom got tome. O.O
I don't know about SublimeText you're using, but in Notepad++ you can do it via CTRL + Q, once you select the desired lines using SHIFT + arrows. I imagine that SublimeText has some similar hotkeys / buttons for that, but you'll have to look it up on its help yourself.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Odd Question About Hiding/Unhiding parts of script

Post by CodeCode »

Aw, no. That is not what I meant.

The reason is to determine if a skin could use that capability.

Like to toggle line of code that would or would not be needed at the time.

It just crossed my mind when a couple odd type of ideas came to mind.

But I do know that there would be issues if semicolons were used elsewhere intrinsically.

Just the same, it was just a curiosity rather than a need - so no real concern for getting something to work. :Whistle
Oh, ya. I use the newest SublimeText 4.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.