Pages: 1
  Print  
Author Topic: Changing fonts in LateralGM  (Read 10671 times)
Offline (Unknown gender) x
Posted on: August 17, 2013, 04:11:04 am

Member
Joined: Aug 2013
Posts: 19

View Profile
Hi,
When I'm editing code, I find the default font a little frustrating. Is there an easy way to use a font installed on my system instead?

Edit: I'm using the latest download for ENIGMA on Windows 8 32 bit.
Logged
x
Offline (Male) Josh @ Dreamland
Reply #1 Posted on: August 17, 2013, 01:30:37 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
LGM has a serious issue with the concept of a "preferences panel." It's been lacking one for a few hundred years, which is impressive considering Java Swing isn't quite that old (despite its appearance and performance).

If I had to guess, I'd say we'll have a preferences panel in the next few weeks containing font and highlighting color options. Note that only fixed-width fonts are supported; I got tired of Java's font issues and grid-aligned all glyphs in the new editor pane. If you're interested in variable-width fonts, I'll file a ticket on the matter and deal with it later on; my experience, though, is that most people ultimately prefer fixed-width for coding.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) x
Reply #2 Posted on: August 18, 2013, 12:32:31 am

Member
Joined: Aug 2013
Posts: 19

View Profile
Sounds good!
I would love to use Consolas or whatever font GM8 uses (I think it was Courier?).
Logged
x
Offline (Male) Goombert
Reply #3 Posted on: August 19, 2013, 02:16:54 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
@X sure your like the 5th person to request that, I will get to it I am busy with GMX stuff.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) Aegar
Reply #4 Posted on: September 24, 2014, 05:38:19 pm

Member
Joined: Sep 2014
Posts: 9

View Profile WWW Email
Has this been implemented yet? I just installed the latest version of ENIGMA which comes with LateralGM 1.8.6 and the Code Editor section of the Preferences panel is blank.
Logged
Offline (Unknown gender) Darkstar2
Reply #5 Posted on: September 24, 2014, 06:14:49 pm
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
I would like to add my support, this would be really nice to have (fonts, highlighting options, etc.).
Logged
Offline (Male) Goombert
Reply #6 Posted on: September 25, 2014, 12:05:37 am

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
No this is not currently implemented, and I did not forget about it either. The issue is that the settings should be added to JoshEdit and then docked into the preferences window but this is also tricky because I don't know exactly how far I want to take it, such as setting styles for each language as JoshEdit doesn't even have a formal language register and I don't want to hardcode anything. Maybe I can add a few simple temporary options to the panel though but this has to go on the backburner until I do the search feature because we seriously need searching in resources, it makes porting games a lot easier for one so that I can find all locations of variable_local_get/set.

I've also actually been wanting to remove JoshEdit from LGM's source code and replace it with a plugin and then also write a Scintilla plugin as a replacement, because I personally don't like JoshEdit. In fact this is probably the way to go and just make JoshEdit's plugin add its settings to the preferences window and then the same for the Scintilla plugin.
« Last Edit: September 25, 2014, 12:07:35 am by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print