modernbrazerzkidai.blogg.se

Xojo newline
Xojo newline















In 2021 Release 2 you can now also add a line number to jump to a specific part of the code. Go To Location feature lets you jump to a specific method in your project by typing the class and name, for example: CustomerDetailsWindow.LoadCustomers

#Xojo newline code#

The Code Editor will fill in the “Then” and “End If” and put the cursor between them: If True Then For example, start typing an If statement like this: If TrueĪnd press Shift-Return after typing True. When you are on an incomplete line of code, you can press Shift-Return (also known as Super Return) to automatically provide some assistance. The code folding line highlights are also now slightly less distracting.

xojo newline xojo newline

In this release, we improved the “-“ and “+” indicators so that they show with a rounded rectangle to be a bit friendlier. Folded code is never removed, it is just temporarily hidden. When code is folded that indicator changes to a “+”, which you can click to make the code visible again. You do this by clicking on the small “-” indicator that appears to the left of a code block. If you’ve not used it before, Code Folding allows you to collapse (or fold) code to help reduce clutter in the Code Editor. This is helpful if you want to copy the entire line, but it is also a great way to make it a bit easier to study a particular line of code more carefully. You can also now click on a line number in the gutter to select the entire line. This can be very handy to help find where the cursor is in a busy method. As you move the cursor around in the Code Editor, notice that the gutter highlights to indicate the line you are on. With Line Numbering enabled, the gutter area is a bit wider to show the line number. In the Preference (or Options) window, choose Coding and then turn on “Show line numbers in gutter” to enable line numbering on all Code Editors.

xojo newline

Line Numbering and the GutterĬode Editor Line Numbering is now an IDE preference instead of a per-Code Editor preference. There are several Code Editor improvements in Xojo 2021 Release 2 that you might enjoy.















Xojo newline