1
SlickEdit® / Re: How to disable a popup window?
« Last post by TheHumbleOne on December 13, 2024, 04:09:33 PM »That worked like a charm. This is why I love SlickEdit!
Is there any Slickedit syntax highlighting planned for Elm? https://elm-lang.org/geometry dashHas the latest version been updated?
// Reads a line from the current document and takes into account if the line
// is getting wrapped, it will get the full line including all the wraps.
// See: https://community.slickedit.com/index.php?topic=19548.new;topicseen#new
static _str get_full_line()
{
_str line = "";
while ( true )
{
_str linePortion;
get_line(linePortion);
dsay("linePortion: " linePortion);
line = line linePortion;
if ( !(_lineflags()&VSLF_EOL_MISSING ))
{
// This is the end of the line, it is no longer wrapped or truncated, so return it
// Caller is responsible for calling down() to advance to next line.
return line;
}
// Being here means that get_line() didn't read the full line, it wrapped it to
// the next line in the editor, so we will need to read the next line.
dsay("not end of line");
// Call down() to go to the next line.
if (down())
{
// This means we got to the end of the file
return line;
}
}
// Should never reach here.
return line;
}
// Reads a line from the current document and takes into account if the line
// is getting wrapped, it will get the full line including all the wraps.
// See: https://community.slickedit.com/index.php?topic=19548.new;topicseen#new
static _str get_full_line()
{
bool getNextLine = true;
_str line = "";
while ( getNextLine )
{
_str linePortion;
get_line(linePortion);
// dsay("linePortion: " linePortion);
if ( _lineflags()&VSLF_EOL_MISSING )
{
getNextLine = true;
}
else
{
getNextLine = false;
}
line = line linePortion;
}
return line;
}
// Reads a line from the current document and takes into account if the line
// is getting wrapped, it will get the full line including all the wraps.
// See: https://community.slickedit.com/index.php?topic=19548.new;topicseen#new
static _str get_full_line()
{
bool getNextLine = true;
_str line = "";
while ( getNextLine )
{
_str linePortion;
get_line(linePortion);
dsay("Undo debug, linePortion: " linePortion);
line = line linePortion;
if ( _lineflags()&VSLF_EOL_MISSING )
{
getNextLine = true;
}
else
{
getNextLine = false;
}
}
return line;
}