I had assumed the Function List just didn't work well, but now I'm not certain and think perhaps something is messed up with my setup. I've just install v15 (so finally decided to confront this issue as it's my main disappointment with UltraEdit and with a new release not working I'm getting frustrated that this feature doesn't work). For Csharp c# cs files I don't get any functions listed in the Function List it shows No Functions! Here's one class I've butchered (to simplify) that returns no functions:
Here's another:
I also have issues with vbs files, it lists subs but not functions, the following code doesn't show up in the Function List:
Are others experiencing this behavior? Is there something off with my coding style or .. How can I get UltraEdit to show Functions?
Code: Select all
using System;
using System.Windows.Forms;
namespace NoFuncs
{
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
}
private void cmdGen_Click(object sender, EventArgs e)
{
lblCDKey.Text = "Test Functions";
}
private void cmdGenerate_Click(object sender, EventArgs e)
{
txtKey.Text = "Test Functions";
System.IO.File.WriteAllText(@"C:\Documents and Settings\Test.lic", txtKey.Text);
}
private void cmdGetQty_Click(object sender, EventArgs e)
{
MessageBox.Show("Test Functions");
}
private void cmdGenerateA_Click(object sender, EventArgs e)
{
//comment
}
private void cmdCreate_Click(object sender, EventArgs e)
{
txtKey.Text = "Test Functions";
System.IO.File.WriteAllText(@"C:\Documents and Settings\C.lic", txtKey.Text);
}
}
}
Code: Select all
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace WI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormMain());
}
}
}
Code: Select all
Public Function FSIsPt(piShapeType)
FSIsPt = false
If piShapeType = 1 Then
FSIsPt = true
End If
End Function