Toad World® Forums

Package Body describe - syntax coloring missing 12.9.0.3 and 12.8.x

when I open describe window on package body, coloring set up for table names is not used.

Works fine when package body opened in Editor.

I created a simple package and my table name is highlighted. I tried with the Describe window option “Stay on Top” both checked and unchecked thinking one or the other was problematic. If you click the “Toggle Spec/Body” button on Describe to get to spec and then again to return to body (or vice versa) does it correct itself or is it just not working at all? Here is the sample package I used.

`CREATE OR REPLACE PACKAGE syntax_color_package``

AS

PROCEDURE sample_procedure;

END;

``

CREATE OR REPLACE PACKAGE BODY syntax_color_package

AS

PROCEDURE sample_procedure

AS

n NUMBER;

`` BEGIN

  -- Table name

```` SELECT COUNT (*) INTO n FROM emp;`

`

  -- Fully qualified table name

SELECT COUNT (*) INTO n FROM mstaszew.emp;

END;

``END;`

Michael

On 11/13/2015 08:48 AM, fisher_359 wrote:

Package Body describe - syntax coloring missing 12.9.0.3 and 12.8.x

Thread created by fisher_359
when I open describe window on package body, coloring set up for table names is not used.

Works fine when package body opened in Editor.

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - Beta
notifications altogether.

Toad for Oracle - Beta Discussion Forum

Flag
this post as spam/abuse.

There are a couple of different ways to open a describe window. How are you opening yours?

Michel, John,

I usually open it by pressing F4 from editor.

It did not matter if I switched between body and structure.

Is this a newly created table or one that existed before you made your connection? If new does it work for existing tables? Not all methods of creating new tables update the internal list used for highlighting immediately.

On 11/13/2015 11:58 AM, fisher_359 wrote:

RE: Package Body describe - syntax coloring missing 12.9.0.3 and 12.8.x

Reply by fisher_359
Michel, John,

I usually open it by pressing F4 from editor.

It did not matter if I switched between body and structure.

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - Beta
notifications altogether.

Toad for Oracle - Beta Discussion Forum

Flag
this post as spam/abuse.

It’s an old table (created few weeks/months ago)

Thanks. John can reproduce it now and explained to me the scenario. I’ll take a look.

On 11/13/2015 12:17 PM, fisher_359 wrote:

RE: Package Body describe - syntax coloring missing 12.9.0.3 and 12.8.x

Reply by fisher_359
It’s an old table (created few weeks/months ago)

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - Beta
notifications altogether.

Toad for Oracle - Beta Discussion Forum

Flag
this post as spam/abuse.

For now, as a workaround, if you change your describe window style (either make it a combined describe dialog, or not Stay-on-top), then your highlighting will work.

Fixed for next beta.

On 11/13/2015 08:48 AM, fisher_359 wrote:

Package Body describe - syntax coloring missing 12.9.0.3 and 12.8.x

Thread created by fisher_359
when I open describe window on package body, coloring set up for table names is not used.

Works fine when package body opened in Editor.

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - Beta
notifications altogether.

Toad for Oracle - Beta Discussion Forum

Flag
this post as spam/abuse.