# \[CTL\]\[SHIFT\] \[Down Arrow\]

**URL:** <https://forums.toadworld.com/t/ctl-shift-down-arrow/4460>\
**Category:** SQL Navigator\
**Created:** [June 2, 2011, 3:36pm UTC](https://forums.toadworld.com/t/ctl-shift-down-arrow/4460 "2011-06-02T15:36:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaleFromLozier](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/dalefromlozier/32/63_2.png) [@DaleFromLozier](https://forums.toadworld.com/u/DaleFromLozier)\
**Post date:** [June 2, 2011, 3:36pm UTC](https://forums.toadworld.com/t/ctl-shift-down-arrow/4460/1 "2011-06-02T15:36:05Z")

</div>

When I use this feature in 6.5 I get the attached. First picture is specs second picture is body…

CTL-SHIFT-ARROW UP takes me back to the specs on the package it is on in the body (works normally).

Message was edited by: DaleFromLozier

![ctl_shft_down.jpeg](https://global.discourse-cdn.com/quest/original/1X/9eb795c956dead4c67f0f0879e0b3dd22aa9f522.jpeg)

---

<div class="post-metadata">

**Author:** ![roman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/roman/32/65_2.png) [@roman](https://forums.toadworld.com/u/roman)\
**Post date:** [June 2, 2011, 7:17pm UTC](https://forums.toadworld.com/t/ctl-shift-down-arrow/4460/2 "2011-06-02T19:17:36Z")

</div>

Hi Dale,

Apparently, when you press CTRL-SHIFT-UP in the specs, the caret is not at the procedure header but just before it (since there are some spaces before the word PROCEDURE) and therefore the shortcut takes you to the body of the previous procedure in the spec. Any part of text preceding the word PROCEDURE or FUNCTION is not considered part of the procedure/function header. I realize this may be inconvenient so will raise an enhancement request. In the meantime, please make sure the caret is at the word PROCEDURE or after it when you use the shortcut.

Regards,  
Roman

---

<div class="post-metadata">

**Author:** ![Fsilva](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/fsilva/32/39_2.png) [@Fsilva](https://forums.toadworld.com/u/Fsilva)\
**Post date:** [June 3, 2011, 4:19am UTC](https://forums.toadworld.com/t/ctl-shift-down-arrow/4460/3 "2011-06-03T04:19:59Z")

</div>

Maybe I didn´t understand the question but It seams like it’s jumping to the wrong procedure.

One problem I noticed is that the spec of the function/procedure must match (even “default” statements) for the ctl-shift-\>arrow to work correcly (if it doesn’t match it goes to the first line in the body)

Regards

---

<div class="post-metadata">

**Author:** ![DaleFromLozier](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/dalefromlozier/32/63_2.png) [@DaleFromLozier](https://forums.toadworld.com/u/DaleFromLozier)\
**Post date:** [June 3, 2011, 7:25am UTC](https://forums.toadworld.com/t/ctl-shift-down-arrow/4460/4 "2011-06-03T07:25:52Z")

</div>

Ok, yes to both, because there are spaces before the word Procedure in the specs, pressing CTL-SHIFT-Down Arrow it goes to the previous procedure. If I put the cursor in the word (or at the first position of the word) procedure it goes to the correct procedure. So My enhancement request would be to Remove Leading spaces on the “current Line” prior to determining where to “Jump”.
