Rules Editor Font

Post Reply
SimonLAylett
Posts: 12
Joined: Thu Sep 13, 2012 1:56 pm
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2007

Rules Editor Font

Post by SimonLAylett »

Hi,

OCD Alert.

Random question, but one that bugs me - What is the default font for the TM1 rules editor? When I paste rules in with a different font, I can never get the same font to match it.

Cheers.
Version - 9.5.2
O/S - Windows XP Professional 2002 SP3
Excel 2007
Beginner!
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: Rules Editor Font

Post by BariAbdul »

This is what rules guide says
"Using the Preferences Dialog to Adjust Font Schemes:
The Rules Editor provides a default font scheme to help you visually identify the
different categories of rules syntax when working in the Edit pane.
You can change the default font scheme using the Preferences dialog to select your
own font style, size, color, and background. Examples of the different syntax
categories include comments, errors, functions, and selected text.
Any changes you make are saved when you exit the Rules Editor so they can be
re-applied the next time you edit a rule.
Note: The font style and font size apply to all text in the Edit pane and cannot be
set for individual categories of rules syntax"
"You Never Fail Until You Stop Trying......"
SimonLAylett
Posts: 12
Joined: Thu Sep 13, 2012 1:56 pm
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2007

Re: Rules Editor Font

Post by SimonLAylett »

Thanks, I saw this - What i'm asking is what is the initial font set at?
Version - 9.5.2
O/S - Windows XP Professional 2002 SP3
Excel 2007
Beginner!
Edward Stuart
Community Contributor
Posts: 248
Joined: Tue Nov 01, 2011 10:31 am
OLAP Product: TM1
Version: All
Excel Version: All
Location: Manchester
Contact:

Re: Rules Editor Font

Post by Edward Stuart »

If you open the Advanced Rules Editor and select Tools > Preferences then you will see that the font is Courier New, Size 10
User avatar
qml
MVP
Posts: 1096
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Rules Editor Font

Post by qml »

In the legacy rule editor this font is 'MS Shell Dlg 2' size 8.5, regular. I don't think you can pick this logical typeface from the 'Font...' format window, but you can use its equivalent: Tahoma size 8, regular (at least this is the equivalent in all modern Windows versions - it can change in future if Microsoft decide so).
Last edited by qml on Fri Oct 25, 2013 4:39 pm, edited 1 time in total.
Kamil Arendt
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: Rules Editor Font

Post by Duncan P »

@Simon - assuming you mean the standard rule editor in Architect I can detect no difference between the default and Tahoma Regular 8.

[edit] QML beats me at OCDness as well. Oh well.
SimonLAylett
Posts: 12
Joined: Thu Sep 13, 2012 1:56 pm
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2007

Re: Rules Editor Font

Post by SimonLAylett »

Thanks All, much appreciated. Tahoma 8pt did the trick.
Version - 9.5.2
O/S - Windows XP Professional 2002 SP3
Excel 2007
Beginner!
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: Rules Editor Font

Post by Duncan P »

As a precaution when I am pasting text from software that thinks it's clever (e.g. Word) I always paste it into Notepad first and then copy from there.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Rules Editor Font

Post by tomok »

Duncan P wrote:As a precaution when I am pasting text from software that thinks it's clever (e.g. Word) I always paste it into Notepad first and then copy from there.
I thought I was the only person that did that! ;) I almost always use Notepad as a paste intermediary when copying between apps. It saves a lot of headaches.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
TableManagerOne
Posts: 42
Joined: Fri Apr 19, 2013 7:07 pm
OLAP Product: TM1
Version: 10.1 RP1 FP1
Excel Version: 2003 SP3

Re: Rules Editor Font

Post by TableManagerOne »

I did the Notepad step enough that I went looking, and found, https://code.google.com/p/puretext-plus/, so that you can "paste unformatted" with a hotkey (e.g. Win+v.)
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: Rules Editor Font

Post by Duncan P »

You don't also have one for inserting tab characters into the TI editorsaurus code windows do you?
User avatar
qml
MVP
Posts: 1096
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Rules Editor Font

Post by qml »

Duncan P wrote:You don't also have one for inserting tab characters into the TI editorsaurus code windows do you?
You mean "ctrl+i"?
Kamil Arendt
Wim Gielis
MVP
Posts: 3230
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Rules Editor Font

Post by Wim Gielis »

On a similar note, copy/paste of the dimension names in the Server Explorer (when the Properties Display is on),
adds an invisible character when you paste it in tI. Therefore I always paste it first in Notepad or Notepad++.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: Rules Editor Font

Post by Duncan P »

@QML Thanks. I really really really wish I'd known that three years ago when I was writing TI 8 hours a day for a year. It's been a long time since I looked at an ASCII table and I'm so used to the Ctrl keys being hijacked by Windows that I didn't think of that.
User avatar
qml
MVP
Posts: 1096
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Rules Editor Font

Post by qml »

Duncan P wrote:@QML Thanks. I really really really wish I'd known that three years ago when I was writing TI 8 hours a day for a year.
I know exactly what you mean. For years I used multiple spaces for indentation like many people do and I do not miss those days one bit. I am a better person, husband and father since I discovered "ctrl+i" in TI editor and rules editor.
Kamil Arendt
User avatar
Steve Rowe
Site Admin
Posts: 2456
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Rules Editor Font

Post by Steve Rowe »

The only things about ctrl+i is that the tab is too wide for me so that in any significant level of nesting your code ends up spread across acres of left to right space.
I've found this very hard to read defeating the point of using the tabs in the first place and have reverted to using spaces!
Technical Director
www.infocat.co.uk
User avatar
qml
MVP
Posts: 1096
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Rules Editor Font

Post by qml »

Steve Rowe wrote:The only things about ctrl+i is that the tab is too wide for me so that in any significant level of nesting your code ends up spread across acres of left to right space.
That's exactly what modern widescreen monitors are for - so that you can see a sea of white on either left or right. I prefer it on the left, you prefer it on the right. Potayto - potahto. Orange - sporange.
Kamil Arendt
Post Reply