cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Code block language setting is reset during edit

Code block language setting is reset during edit

Steps to reproduce
When I edit code block in post, code language is set to "General"
OS: Windows (can't be selected from drop-down)


Expected results
Code language of code block stay unchanged.


Actual results
Code language of code block is set to General.


URL where issue occurs
https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum


Browser
Chrome


OS
Other


6 Comments
kevinle2
Alumni
Status changed to: Accepted

Hello @Michael.Navara ,

 

General is the default selection, so when you made a change to the code block, what change happened to that setting? Can you send a screenshot of your issue? 

Michael.Navara
Advisor

Sample iLogic code block

Dim part as partDocument = ThisDoc.Document

 

1) First time creation - I choose Visual Basic for language

MichaelNavara_0-1678345774577.png

 

2) Result after first time creation. Keywords "Dim" and "asare highlighted according to Visual Basic

MichaelNavara_1-1678345851095.png

 

3) Double-click on code block opens editor again for making changes, but the Language is set to General

MichaelNavara_2-1678345916693.png

 

4) When I forgot to set Language manually, syntax highlighting is lost

MichaelNavara_3-1678346028348.png

 

 

kevinle2
Alumni

@Michael.Navara 

 

Thank you for providing screenshots and steps to reproduce. I was able to replicate and a ticket has been created in our system and our engineering team will look at this soon. 

kevinle2
Alumni
Status changed to: In Progress

Hi @Michael.Navara ,

 

This bug has been identified and is currently a work in progress. This will be fixed in the next release. Thank you.

Michael.Navara
Advisor

Thank you for info

kevinle2
Alumni
Status changed to: Fixed/ Completed
 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea