Pages: 1 [2]
  Print  
Author Topic: Script Editor Features  (Read 3590 times)
Offline (Female) IsmAvatar
Reply #15 Posted on: February 23, 2011, 03:25:17 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
Ah, ok. We'll consider custom indentation folding. Usually this would be simply achieved by surrounding the code with curly brackets.
« Last Edit: February 23, 2011, 11:07:32 PM by IsmAvatar » Logged
Offline (Unknown gender) luiscubal
Reply #16 Posted on: February 23, 2011, 04:45:22 PM
Member
Joined: Jun 2009
Posts: 452

View Profile Email
You mean custom folding.
Logged
Offline (Male) RetroX
Reply #17 Posted on: February 25, 2011, 12:18:52 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Ah, ok. We'll consider custom indentation folding. Usually this would be simply achieved by surrounding the code with curly brackets.
Code: [Select]
{
  int x;
  int main(int argc, char** argv)
  {
    return 0;
  }
}
Doesn't work.

Better idea:
Code: [Select]
#if 1
  int x;
  int main(int argc, char** argv)
  {
    return 0;
  }
#endif
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Female) IsmAvatar
Reply #18 Posted on: February 25, 2011, 12:40:23 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
That's only applicable in Definitions.
Logged
Offline (Male) RetroX
Reply #19 Posted on: February 25, 2011, 12:49:30 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Well, you still have scope errors.  What if you initialise a variable and want to use it after the block?
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Female) IsmAvatar
Reply #20 Posted on: February 25, 2011, 03:04:08 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
That's a good point. Ok, we'll consider custom folding around #something.
Logged
Offline (Male) Josh @ Dreamland
Reply #21 Posted on: February 25, 2011, 05:59:52 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
We may as well run with #region for ENIGMA's use, but we'll want to generalize it. Maybe with an interface for seeking to different regions.
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 (Male) polygone
Reply #22 Posted on: July 17, 2011, 07:43:49 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 809

View Profile
actually never mind make it default :p
« Last Edit: July 29, 2011, 11:45:41 AM by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Female) IsmAvatar
Reply #23 Posted on: July 18, 2011, 11:34:29 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
Personally I was thinking Ctrl+I to indent and Ctrl+Shift+I to unindent, but I guess the key bindings could be negotiable.

Also, despite the indefinite postponement of this particular project, it's on the backburner, but not totally dead. It may yet see a resurrection, and I figured if it does, it'd be nice to have a guideline of features the users would like to see all gathered in a nice centralized location.

After all, it's a feature of LGM that is sorely lacking. At some point, it will have to be dealt with.
Logged
Offline (Male) RetroX
Reply #24 Posted on: July 19, 2011, 12:49:49 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Indenting should be possible with Tab and Shift+Tab.  At least, via preference.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Pages: 1 [2]
  Print