It is currently April 27th, 2024, 3:21 pm
Sublime Text 2 Rainmeter package
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Sublime Text 2 Rainmeter package
Very nice work!
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
It was about 6 days ago. Which is only a proof of how easy it is to customize Sublime Text 2 and how good I am at procrastinating (I'd rather have done something for my job... )KreAch3R wrote:Amazing work, Merlin. And you found the program when, 10 days ago? Just amazing.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
-
- Posts: 608
- Joined: February 7th, 2011, 7:27 pm
- Location: Thessaloniki, GR
Re: Sublime Text 2 Rainmeter package
I get the feeling. I should be studying right now, too.MerlinTheRed wrote: It was about 6 days ago. Which is only a proof of how easy it is to customize Sublime Text 2 and how good I am at procrastinating (I'd rather have done something for my job... )
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Sublime Text 2 Rainmeter package
Minor nit:
Not sure if this is in any way related to the stuff you have done, but maybe it is something that can be customized somewhere I don't see. When you have word wrap on, the text wraps at exactly the edge of the work area, jammed up against the vertical scroll bar on the right. You can set the "column to wrap on", but then it becomes a fixed point and doesn't follow when the window is resized.
It would be nice if like in Notepad++, it had just a tad of buffer between the wrapped text and the edge.
Not sure if this is in any way related to the stuff you have done, but maybe it is something that can be customized somewhere I don't see. When you have word wrap on, the text wraps at exactly the edge of the work area, jammed up against the vertical scroll bar on the right. You can set the "column to wrap on", but then it becomes a fixed point and doesn't follow when the window is resized.
It would be nice if like in Notepad++, it had just a tad of buffer between the wrapped text and the edge.
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
I browsed around in possible settings but didn't find any that can change this. I also tried different themes but to no avail. Turning on the minimap helps a little but that costs screen space.jsmorley wrote:Minor nit:
Not sure if this is in any way related to the stuff you have done, but maybe it is something that can be customized somewhere I don't see. When you have word wrap on, the text wraps at exactly the edge of the work area, jammed up against the vertical scroll bar on the right. You can set the "column to wrap on", but then it becomes a fixed point and doesn't follow when the window is resized.
It would be nice if like in Notepad++, it had just a tad of buffer between the wrapped text and the edge.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: Sublime Text 2 Rainmeter package
Found another Typo
when you add a space behind these functions they are read as known functions, but this here is correct usage
when you add a space behind these functions they are read as known functions, but this here is correct usage
Powered by Sublime Text 3 with Rainmeter-Package
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
I didn't do anything for Lua. If there is a problem with Lua code highlighting, that's the fault of the people who created the default Lua package that comes shipped with Sublime Text.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: Sublime Text 2 Rainmeter package
oh right my faultMerlinTheRed wrote:I didn't do anything for Lua. If there is a problem with Lua code highlighting, that's the fault of the people who created the default Lua package that comes shipped with Sublime Text.
lol : headbang :
Powered by Sublime Text 3 with Rainmeter-Package
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
Does someone know in what order the different types of variables get parsed and replaced? Which one will be replaced first if I have a section name inside a variable name or vice-versa:
Is such a thing even possible or should I not highlight anything at all in this case? What if it gets more complicated:
Code: Select all
[Rainmeter]
LeftMouseUpAction=!SetVariable Something "[MeasureNumber#CurrentNumber#]"
[Variables]
SomeVariable=#OtherVariable[Counter]#
Code: Select all
[Rainmeter]
LeftMouseUpAction=!SetVariable Something "[MeasureNumber#CurrentNumber#]"
[Variables]
OtherVariable[Counter]=5
SomeVariable=#OtherVariable[Counter]#
CurrentNumber=5
[MeasureNumber#CurrentNumber#]
Measure=Calc
Formula=MeasureNumber#CurrentNumber#+#OtherVariable[Counter]#
[Counter]
Measure=Calc
Formula=(Counter+1)%10
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
-
- Developer
- Posts: 1721
- Joined: July 25th, 2009, 4:47 am
Re: Sublime Text 2 Rainmeter package
I'll test this in a moment (so watch this post for edits), but I don't think you can ever have a section variable inside a variable (as in #Variable[Section]#). You can have regular variables inside section variables ([Section#Variable#]).
EDIT: Confirmed.
EDIT: Confirmed.