SRL Archive - Discussions and Debates

Using CTRL in Simba


Shatterhand

2012-08-22 13:10:04

Well, title says all.
Press CTRL button and click on any variable/function…
I just found this coooool feature of Simba. :spot:

Chris

2012-08-22 13:37:50

:surprised:

Thanks for sharing this, I didn't know this either!
I'm used to search for the function in the functionlist and then double-click it.. But this is much easier :D

nielsie95

2012-08-22 13:48:30

Glad someone is using it :)
It's something I use pretty often. It's been in there for quite some time, though ;)

footballjds

2012-08-22 14:01:19

been using this forever, it's awesome!

Bobarkinator

2012-08-22 14:40:26

From: nielsie95
Glad someone is using it :)
It's something I use pretty often. It's been in there for quite some time, though ;)


So is your new thing to find threads about features in Simba and then link back to when you put them in? :)

nielsie95

2012-08-22 14:54:55

Why? You got any links I should see? ;)

Bobarkinator

2012-08-22 19:01:04

From: nielsie95
Why? You got any links I should see? ;)


No, I've just seen you do it a couple times in the past couple of days ;)

YoHoJo

2012-08-22 19:39:06

Wow! Even I never knew! I'd manually scroll/navigate to and open the file I though the function was in, this is extremely useful thanks!

Echo_

2012-08-22 22:23:24

I figured out about this on accident when I first started scripting, now I use it all the time :)

grats

2012-08-22 23:38:16

From: YoHoJo
Wow! Even I never knew! I'd manually scroll/navigate to and open the file I though the function was in, this is extremely useful thanks!


This really surprised me that you didn't know about it O_O

P1ng

2012-08-23 01:32:22

This is really cool :) kind of disappointed that I can't see the source for stuff like FindColorsSpiralTolerance etc though

masterBB

2012-08-23 01:34:24

From: P1ng
This is really cool :) kind of disappointed that I can't see the source for stuff like FindColorsSpiralTolerance etc though


Anything is possible when your man smells like Old Spice:

https://github.com/MerlijnWajer/Simba/blob/master/Units/MMLCore/finder.pas#L833

grats

2012-08-23 01:39:43

I think he meant in the actual CTRL menu

P1ng

2012-08-23 01:43:17

Haha, thanks BB. But I was indeed referring to the CTRL menu :)

grats

2012-08-23 01:46:43

The best type of menu like the ctrl one I've seen is from bluefish: http://bluefish.openoffice.nl/index.html

I'm not sure how hard/easy that is to do but when you go over a function in php for example it has a crap load of information about the function & examples of how to use them etc.. maybe an implementation of the docs in the future or something

Daniel

2012-08-23 02:43:55

I've always used this since its inception.

xtrapsp

2012-08-23 04:37:41

I use this to be honest, I found it by pure accident to :)

Noob King

2012-08-23 19:05:57

I never knew about this. I always just clicked on the functions from the left side.

Sirenia

2012-08-24 02:54:21

I dont get it, I press ctrl and hover the text in a script but the word I hover just go blue ?

masterBB

2012-08-24 03:08:35

program bla;

function add(a, b: Integer): Integer;
begin
Result := a + b;
end;

var
c: Integer;

begin
c := add(10, 15);
end.

control + click add at the bottom will bring you to the declaration on line 3. Control + click c on the bottom will bring you to c: Integer;

Nebula

2012-08-24 22:09:51

Wow this is like so boss I never knew about this

Echo_

2012-08-24 23:58:32

From: Sirenia
I dont get it, I press ctrl and hover the text in a script but the word I hover just go blue ?


You gotta click it when it's highlighted

Jakkle

2012-08-25 19:36:24

Love it :) thanks for sharing this :thumbsup:

Shatterhand

2012-08-26 13:45:05

Im glad it helped you all. :D

Gala

2012-08-26 18:11:13

I am really surprised that a lot of you guys didn't know this. This increased my workflow heavily. :)

Abu

2012-08-27 14:52:21

Amazing, great tip!

Rep+