April White:
The revisions I have been working on for the new job system is now
storing the buffer name into the job object, so the 'building' flag can
be set. It should not be hard to revise the code that handles the
command.replace.selection... code to locate the original buffer and
Kevin Olemoh:
It would be better if one at least had a menu entry to
increase the font size. The ctrl+numpad+ keybinding is kind of useless on my
Thinkpad and it would have saved me some time if increasing or decreasing
the font size [at the very least] was accessible through the menu
Frank Wunderlich:
i have also tried this, but same behavior appears...i've fuguered out
that the loaded lexer can be the problem. in the text-lexer (without
lexer) it works but in html-lexer for example it doesn't work, but i
found no solution for it.
The HTML lexer uses 7 bits of each
Mario Valle:
Is it possible to save and restore bookmarks?
No. This has been answered before.
Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest
Frank Wunderlich:
isn't OnUpdateUI fired to often for string parsing?
how do i get the active pane (i also need this for OnDblClick, to get
the filename and linennumber printed by the compiler).
Its called quite often so you may need to work around that by
avoiding expensive operations
Sebastian Steinlechner:
With the minimalistic Text lexer, 78 colors are in use. C/C++ lexer
pushes this up to 90, Hypertext reaches the limit of 100. After I set
Palette::numEntries to 150, I got a color count of 117 for Hypertext
and indeed the color problems disappeared.
It seems a lot
Kein-Hong Man:
Here is a folding/unfolding Lua function with a customizable depth
setting.
That works well. I was going to ask for a permanent address for
this but its already on the wiki at
http://lua-users.org/wiki/SciteCustomFolding
Neil
Frank Wunderlich:
another way i think is catching the onChar-Property and test for the
pane. if this pane is the output-pane then running my function to search
for strings and replace some strings.
OnChar is for user input. You could try OnUpdateUI.
Neil
Victor:
SciTE makes for a really awesome gateway drug. I mean it. I love it
because it is simple and yet powerful *but* knowing it will purposely
rank lower in features when compared to other IDEs is a daunting burden
to have to live with :(
It also keeps me relatively sane.
I wish
Victor:
Q 4 I believe just might be a bug on Linux/Gnome. Can someone confirm
this OR is it a feature?
I think it was added to Windows and no one looked at doing it for
GTK+. Its fixed now in CVS and the modified source is also available
from
http://scintilla.sourceforge.net/scite.zip
Sebastian Steinlechner:
I recently updated to SciTE 1.67 (from something like 1.62) and came
across the following problem (on GTK2/Ubuntu 5.10). I have
selection.back=#e7ff60
in my properties file. That's a nice MacOSX textmarker like color. Works
fine, though not in XML mode. Each time
Chris:
I would like to be able to use an lua script to find the deepest
foldable node, and unwind while collapsing every fold I encountered
along the way. Is this possible with the scripting interface? I could
not find any examples of using folds at all from lua.
Yes, this should be
Roger Sondermann:
Here it is, but any other script causes the same problem:
OK, between 1.66 and 1.67 I made a mistake when updating groupundo
so that it calls SCI_BEGINUNDOACTION both before and after the action
rather than calling SCI_ENDUNDOACTION after. Fixed in cvs. You can
downgrade to
Abraham (J.P.):
Also, is there a way to save in the scite session file what part of the
file were fold ? I'm forced to click on all the '-' in the margin when I
open my file..
No.
To fold up all the file you can use View | Toggle All Folds and you
can ask that files be opened folded
Jan Hendrik:
how many miles is it from you to here? 10,000, 11,000? Or is it
just the opposite point on Mama Earth? Anyhow, it seems a nice
thing that for individual reasons and on such a huge distance the
same roots show up for a name.
Here is approximately
Frank Wunderlich:
i want to change the codepage of the outputfile (not displaying) for
batch-files.
reason is that in the dos-box german special-chars are displayed in
other character-set
if i set character.set=255 scite displaying the bat-file like it's
displayed when running in dos-box,
April White:
I've uploaded
to http://www.scintilla.org/aprilw/scite-april-2005-12-29.zip my
implementation of the new job system for v1.67
OK. The PropSetFile change is now committed.
It is fixed; I decided to upload todays revisions under the same name as
above.
OK. There are some
Piotr Fusik:
i like in ski/lee or sky/lite ?
Sky.
Do you pronounce the trailing e ?
No.
Given the dual etymology from the history page '''Latin meaning
something like understanding in a neat way and is also an Old
English version of the word shit ''' and this set of recordings from
Srish:
Is there a way I can select font size for the context menu ?
Turn off the builtin context menu with SCI_USEPOPUP and respond to
WM_CONTEXTMENU by displaying your own context menu.
Neil
___
Scite-interest mailing list
Dennis Dalessandro:
What is the correct pronunciation of SciTE? I've heard different people
butcher it different ways.
Its simplest to say skite which is Australian for boast but I
tend to soften the s towards shkite due to the derivation from
shit.
Neil
Kevin Jones:
Was wondering/hoping there might be a version of the scite editer for the
pocket pc.
Not when running Windows CE. The GTK+ version should run if you can
get Linux installed.
Neil
___
Scite-interest mailing list
Frank Wunderlich:
when you searching for a special char (for example th german char ä
(auml;)) and nothing is found the messagebox displaying
'ä' cannot be found
instead of
'ä' cannot be found
the char 'ä' in the textbox is displayed right (getting charset/encoding
from this). can you
Stilianos Kesisoglou:
I was wondering which is the correct way to post in
this list.
I have send a message a few days ago about
encapsulating SciTE in the form of a Netscape plug-in
with no reply.
The message arrived at the list and can be seen in the archives
April White:
- rewrite if (!executing !jobQueue.IsEmpty()) as if
(jobQueue.CanExecute())
- add the method CanExecute() which examines an internal flag
IsExecuting; if it is not set, sets it and pops a job from the queue,
thereby setting the flag and preparing for the actual execution -
SciTE 1.67 is now available from the scintilla.org web site.
SciTE 1.67 is a minor enhancement and bug fix release. Several
lexers improved. On Windows, pasted text has line ends normalised to
match current preference. Multiple buffers work more consistently with
more settings stored
April White:
I've been going over in my head the 'executing' variable.
I would remove the 'executing = true' assignment from
SciTEBase::Excecute() and replace
if (!executing !jobQueue.IsEmpty())
with
if (!::InterlockedExchange(executing,1) !jobQueue.IsEmpty())
Am I on the right
April White:
This line gets rendered in the yellow color of a compiler directive:
#define bump() if ( GetTickCount()last+1000 ) {
last=GetTickCount(); putchar('.'); }
However this line:
#define bump() if ( GetTickCount()last+1000 ) { /* Sleep(0); */
last=GetTickCount();
Axel Huizinga:
I noticed that SciTE Version 1.66-wbd-1 on XP crashes
when I try to correct my typo in php code on the line :
dumpObject(head.headLine.ext.);
I have the caret behind the last dot and after hitting backspace
- no more response.
I can't reproduce this on standard
My I set a colours for output pane? Or styles for error, text, warnings, etc.
In others.properties, the relevant colours are specified in
style.errorlist.*.
Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
April White:
- rolled back to changes where I merged IsBuilt, IsDirty, UseMonoFont
into a bit-field variable
- removed the code the passed the job object from the ExecuteOne()
method to command procedure
- retooled the jobQueue.Pop() method to be jobQueue.GetNextJob()
- added
Since I haven't found a good way to implement a dynamic horizontal
scrollbar in Scintilla (and I tried again recently in SinkWorld) there
should probably be a compromise option. This would provide a better
but not perfect range and since it would be an option the user could
choose whether the
Robert Roessler:
As
for the reference to SCE_CAML_KEYWORD3, the magic Python script that
[re]creates the key .h files from the .iface description must be run -
it could be done locally, or Neil will presumably do it prior to the
new release.
It is in CVS now but it seems to take 30-90
I plan to release a new version of Scintilla and SciTE by Friday.
Recent changes from Jeffrey Ren (Asian text on Windows 9x) and Armel
Asselin (undo stack position field) will go in but translucency won't
as the API needs more work and April White's changes to the job queue
aren't yet finished.
April White:
The SciTEWin::ProcessExecute() method currently pops a job off the
queue, and I've modified IDM_FINISHEDEXECUTE to receive the job as a
parameter via lparam. I have not altered anything to store the buffer
name so far, but the new code is working.
Oh, I am also planning on on
April White:
I've noticed that I am not deleteing the job object within
ProcessExecute(). I would like to:
- add a variable exitstate to the job class
- return the job as a void * instead of the exitstate
This way the IDM_FINISHEDEXECUTE code can get the exit state and build
flags.
April White:
- made the internal global flag isBuilt a buffer flag; if two files
are open that use the go.needs setting, each maintains its own
built status
Good.
- the buffer flags isDirty and useMonoFont has been encapsulated within
a buffer variable and controlled by enum flags
April White:
I have eliminated the flag 'isBuilding' by adding a job flag
jobIsBuilding. This is working fine, though I want to keep the output
of the first job on the screen when the second job runs. The
SciTEBase::Execute() method clears the output pane between, so I'm
trying to find an
Frank Wunderlich:
why not drawing the line behind the text? text may be better readable if
it's in front of the line.
You could try moving the edge code earlier in drawing.
Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
Philippe Lhoste:
The banner is a bit strange. Editor for X?
Most of the text is from the main site but with some capitalisation
changes. X is used for the X Window System. It could say Linux but
SciTE also runs on other Unix like operating systems and even some
like OpenVMS that aren't based
Guillaume Schaeffer who earlier designed an alternate icon for
SciTE also produced a design for the SciTE web site. While it is more
attractive than the current site, I tend to see web site design from a
programmer's point of view prioritising the informational text, so
don't like to see fixed
Frank Wunderlich:
i dont want to comment it out...why don't change //~ to // to make it more
compatible?
//~ can be safely toggled over text that includes comments. If you
prefer using // then set comment.block.cpp=//.
Neil
___
April White:
The only time I can see that code checks if the queue is non-empty is to
assign TRUE to isBuilding. I'll change AddCommand() to return true/false
indicating that something was added, eliminating the need to examine if
the queue is empty.
isBuilding needs to be known to the
Robert Roessler:
*Sometimes* [now] when I remove an outer set of comment delimiters,
the text inside (with a mix of un-commented and commented code) is not
properly redisplayed. It may be all of the lines or just one that
does not get repainted properly and retains the look it had when the
Robert Roessler:
Thanks, Neil - but I thought that my last line Current
Scintilla/SciTE builds from CVS on Windows XP SP2. was sufficient
platform info?
Or maybe you are remembering that I work with the Scintilla widget on
GTK+ on Windows too? :)
GTK+/Windows is an unknown case for me
Daniel,
I like to compile natively scite for osx (scintilla.a). Is it possible?
I have compiled scintilla natively with osx the 10.4.3 and the SciTest file
for XCode bat this project is too much simplified...
There is no way to build SciTE for OS X native currently.
Neil
Frank Wunderlich:
Is there a macro which returns current line/col?
macrocommand is a generic way to execute Scintilla commands through
the director interface but can only be understood through reading
SciTE's (or Filerx's) source code.
Do You implement the indent-Function/Menu-Item?
Frank Wunderlich:
can i catch the doubleclick-event by lua or other and get the actual
line of output pane? then i can open the file and jump to the position...
I expect so but havent looked into doing this.
is there a possibility to get the current line by
SciteDirector-Interface
April White:
I've been thinking of a new approach to the 'send job message' to the
window. My initial test worked by having the AddCommand method send the
job message. This eliminates the need for individual calls to
AddCommand to send the message.
One problem with this is that code
Frank Wunderlich:
on second selected line it inserts 2 tabs...on further tests i noticed that
a similar function is already implemented but not in menu (selecting and
press tab)= all lines will be indented (why have nobody say this to me?)
I find it difficult to understand your point of
Neo Clark:
i want to translate menus and dialogs into Vietnamese
how can i modify locale.properties file? (code.page,charset,encoding)
i set translation.encoding=UTF-8 and use a Vietnamese keyboard support UTF-8
to type
but menus or dialogs do not display Vietnamese corectly
This
Adnan Chowdhury:
I would like to replace the standard Ctrl+T (which currently 'Line
transpose[s] with previous.') to open a new tab (new document). I have tried
mapping the key in my user options file but to no avail.
user.shortcuts=\
Ctrl+T|IDM_NEW|
Works for me.
The corollary to my
Frank Wunderlich:
i get the following output:
D:\Programmierung\wscite\delphi\compile.bat Alarm.dpr no_pause
Delphi fr Win32 Version 10.0 Copyright (c) 1983,97 Borland International
...
AlarmClass_u.pas(20) Fehler: Undefinierter Bezeichner: 'TAlarmDataList_'
...
Options_u.pas(14)
Robert Roessler:
I have a lot of lines in the output pane, and so am attempting to
search (Ctrl-F) on some known strings. But irrespective of where the
focus is, the searches are always performed in the edit pane.
That is deliberate: searching is always for the edit pane. If you
want to
BobH:
I debugged the source code and determined the problem to be the
initialization of the SString calltipWordCharacters which contains all
the legal characters permitted in a function name. Since the C
languange permits alphanumerics and underscores in the function names, I
simply added
Kein-Hong Man:
if i = 2 and CharAt(i-2)..CharAt(i-1) ~= _( then
Any reason to prefer this over the textrange call?
if i = 2 and editor:textrange(i-2, i) ~= _( then
Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
April White:
I'd like to be able to pass the props instance variable from
SciTE.ReadProperties() into JobQueue.ReadProperties(), but at this point
the props class definition is within SciTEBase. Could I move it out to
its own file, allowing JobQueue to include the .h file and utilize the
April White:
I hope the icky debug stuff is going to disappear.
When I don't need it any more. I've disabled the DEBUG define so the
code it excluded.
There were problems here because __attribute__ is for gcc and
confuses other compilers.
Copyright? doesn't deserve a ?.
Since
Ervin Peters:
So I tried to open scite on rachmaninov using x-server diplay on
localhost/redmagic - the display I'm looking at.
I'm not very knowledgeable about X and remote use although I have
managed to use SciTE remotely in the past.
The error was 'BadWindow (invalid Window
Carlos Pita:
One ocurrs when I keep up/down arrow keys
pressed; the cursor reaches the top/bottom of the window but then the
buffer isn't scrolled; when I finally release the arrow key the buffer
suddenly jumps to the far point where it should have smoothly scrolled
to.
The slippage is
April White:
I removed SciTEWin::Execute(), placing that code within the command
case, and it executes the commands in the queue. I tested Makefile and
a simple .c file
hoo hoo, it works :-)
OK. It worked for some external programs and Lua scripts.
The implementation of
Luc ROLLAND:
I would obtain that some keywords would
automatically mapped to upper or lower case
(instead of using CTRL+U).
I think it is possible using options and properties,
but I don't understand how ?
Use the case:u or case:l values in the appropriate style setting.
For example,
Pawel Bielecki:
Hello Dear SciTE Users/Developers.
Does SciTE contains this feature? (hide.mousecursor.typing or sth)
If not how can I help to add it?
Scintilla and thus SciTE do not support this feature. I expect
implementing it would require a thorough examination of the mouse and
Andy Sy:
Has anyone else experienced, when using SciTE 1.66, of
the Ctrl-key failing to register fairly often? Quite
often, when using Ctrl-Z to do repeated undos, a 'z'
comes up instead of the undo action.
I though initially it may be a problem with my Microsoft
Wireless Comfort
The example mentioned CRITICAL_SECTION since I knew there was some
code in Scintilla that used them that could be examined. Scintilla on
Windows maintains a global font cache and since you may be switching
fonts very often when, for example, laying out all of a large
document, a lightweight
Robert Roessler:
Aw, gee, just one little pure-virtual class (say, SciMutex?) with
platform-specific derived classes (SciMutexWin32, SciMutexGLib, and
SciMutexNone) should cover it... :)
And fix up all the build/make files. If you or April want to then go ahead.
Neil
April White:
Oh, at this time, the SciTEJobQueue.h file contains some debugging
define's and stuff, but they are only active when DEBUG is defined, but
I also left in a line that define'd it.
These are quite compiler-specific.
2. implement a means whereby a direct call to Execute() is
Robert Roessler:
I just looked at this... I am [a little] surprised to find that SciTE
is not structured the same as Scintilla vis-a-vis a platform
abstraction layer with specific implementations as required.
SciTE uses Scintilla's platform for some things.
In any case, as GLib supports
April:
I just want to confirm that the FilePath class does not have copy
constructor nor assignment operator.
FilePath has no explicit copy constructor or assignment operator
but SString has both and the only field in FilePath is an SString.
Therefore, the automatically generated copy
April:
I think I did it because it makes more sense to change the execute
directory to that of the job being executed. I think the current loop
within SciTEBase::Execute() takes the last command's directory.
For external commands on Windows, the startDirectory is copied from
the
April White:
However, recently I added a call to 'CenterCursor' after the cursor has
been position by the OnOpen hook. This is not working. This error is
reported:
...\SciTEExtension.lua:510: bad argument #1 to
`VisibleFromDocLine' (number expected, got string)
The function is:
Olof:
I'm having some trouble getting Scite to display fonts properly. Running on
Linux, I have the code.page set to 65001 and want to read utf-8 encoded
files containing Japanese charsets. With fonts set to default, Japanese
characters are simply not displayed (random characters are
Gary Richardson:
I'm trying to use SciTE to develop MSP430 programs. SciTE appears to work
fine but I'm having a problem with Make. Make executes the commands in the
makefile OK but crashes before it can return to SciTE. Make can display its
version and help text without error.
Does make
Helmut Jarausch:
Wouldn't it suffice if it stores the filename together with the
information which bytes belong to the selection?
Primary selection is handled by Scintilla (the editing widget)
rather than SciTE (the application). Scintilla does not know about
file names. It may be possible
Roger Sondermann:
This can be the reason, because when I'm editing multiple source-
files I ususally hit Save All from time to time.
That will be in a 'sending' instance of SciTE but the bug is in a
'receiving' instance and this would only be the cause if you are
editing the same files in
April White:
Off the cuff, I'd say that UI events should not be able to add multiple
commands, but of course that is easier said than done. If the same
executing value is used, then tool commmand could still be blocked,
and only an extender or internal events such as command.go.needs would
Doyle Whisenant:
Does this mean that one can have multiple tools executing one after
another with only one command? If not, is this possible?
It may be but probably through a script rather than an extension to
command.*.
I use SciTE with BCX which means I need to:
1.) Run BCX to
This explanation of check.if.already.open is now in CVS:
This option allows opening files in an existing instance of SciTE rather than
always opening a new instance.
When this option is set and SciTE is started, it checks to see if
there are any other instances
Roger Sondermann:
Maybe it's related to:
...
These are now only found in the Buffer class and the application
uses the CurrentBuffer() call to find the information. The
attributes are isDirty, useMonoFont, unicodeMode, fileModTime, and
overrideExtension.
This looks like a good suspicion
Julian Herten-Greaven:
I've perused through the list of scintilla-related projects and have yet to
find one that allows the inclusion of total pages in either header or
footer.
I'm not sure that can be discovered without doing a dry run,
formatting the document as if for the printer.
April White:
Instead of having (abbreviated):
if (jobToRun.jobType == jobExtension) {
if (extender) {
if (jobToRun.flags jobGroupUndo)
SendEditor(SCI_BEGINUNDOACTION);
extender-OnExecute(jobToRun.command.c_str());
if (jobToRun.flags
Jim Pattee:
The difference seems to be caused by the folder names in the IF statement
containing spaces. If the folder names contains spaces, the parens match
correctly. If they don't contain spaces the parens don't match.
The main problem for you is that the batch support does not
[Redirected back to the list as this is going to affect everyone]
April White:
I'm thinking out loud again...
Add a class that encompasses:
- the storage of Job jobQueue[commandMax] array and
- the functionality of SciTEBase::ClearJobQueue(),
SciTEBase::AddCommand()
Yes, encapsulating
Julian Herten-Greaven:
As for being more trouble than it's worth.. well.. I'm not sure what to say.
I realize I'm new here.. and not in much of a position to request features
or functionality especially given that I'd have trouble getting the work
done myself, but from a strictly objective
Peter Wu:
When I run a program with scanf() function in linux,
the program goes through without pause. It doesn't wait for me
to input for scanf().
Output pane interaction is only implemented on Windows.
Neil
___
Scite-interest mailing list
Istvan:
Thanks Neil. I've wrote a code in lua and I've put it into function
OnChar(ch):
if ch=='\n' then
if props['FileExt']==php or props['FileExt']==html then
if editor.StyleAt[editor.CurrentPos] 117 then
props['tabsize']=2
Philippe:
In UniqueInstance::ToggleOpenFilesHere, I have a vestigal hOtherWindow
local variable which hide the class member... The test against NULL
always failed... Just remove it and all goes well:
Committed.
Neil
___
Scite-interest
Neil Hodgson:
This does not appear to have taken threading into account. Which
thread is it running on? How is this synchronized with other
activities including other queued actions? You may need to lock the
queue.
I should explain here that for SciTE on Win32, tools are executed
April White:
I have in my user properties
command.build.makefile=make
command.build.Makefile=make
command.build.*.mak=make -f $(FileNameExt)
When I edit a makefile, the compile/build/go tools are grayed out. When
I edit makefile.mak, the 'build' tool is enabled.
Could this
April White:
Please consider the following
http://www.scintilla.org/aprilw/scite-april-2005-09-24.zip
This does not appear to have taken threading into account. Which
thread is it running on? How is this synchronized with other
activities including other queued actions? You may need to lock
When this option is set and SciTE is started, it checks to see if
there are any other instances of SciTE open with the
Options | Open Files Here menu item checked.
If there is one then the new instance will send the list of files to
open (if any) to this
Philippe Lhoste:
In short:
The Framakey project provides a set of lightweight open source
applications that fit on an USB key. A light version of 128MB keys, a
more complete one (with OpenOffice) for the 256KB version.
I wonder what would be required to be U3 compatible?
Lionel:
1) It seems that selecting and then dragging text (with left button)
*copies* rather than moves the selected text. This seems odd... other
GTK+ apps (gedit, for instance) will move text if dragged; to drag/copy
one holds down the Ctrl key while dragging. I have not found a way to
Peter Wu:
I just tried above source code.
save.session=1
is on in sciteglobal.properties
but the last opened file cannot be loaded after restart scite.
I noticed that scite 1.66 works fine, it can load the previous
opened file successfully.
OK, should be fixed now in CVS and
The change I mentioned earlier with useMonoFont was part of a
larger problem that I'd been intending to work on for a while. Several
attributes were being stored both globally and for each buffer.
Storing one piece of information in two locations is commonly regarded
as a bad thing and leads to
Peter Wu:
I added the following item to locale.properties:
Launch Ch Shell=translated_language_interpretion_here
but it doesn't do the conversion when I start scite.
is there a way to do the language conversion for this new
added menu item?
locale.properties allows localisation of text
Philippe:
That is, I am re-styling all the text. It works but is it the more
efficient way to go?
That should be OK although it does involve touching each byte in
the document. If it proves too slow then you can keep your own data
structure containing all the indicated ranges and then
Mildred:
Is there something easier to customize that ?
Why not create a customizable lexer which loads a lua functions ...?
There was a customisable lexer recently implemented but it is also
quite complex. See the list archives starting here:
Jonathan Ballet:
- I'm using SciTE under both Windows Linux (Debian). Under Linux, I
put my caret on line 500, and the viewport show lines between 400 and
600 (for example), so my caret is in the middle of the viewport.
If I switch to another buffer, and going back to the first one, the
I've just fixed a bug in monospaced mode. Each buffer maintains a
monospaced mode flag but this wasn't being copied to the application
state after opening a file so each opened file used the setting of the
previous file. The state now resets when opening a file. Change
committed to CVS.
Philippe Lhoste:
Note: I still think a split window would be useful for SciTE. Neil
advocates the use of two instances of SciTE, but I find this less
convenient, with problems of focus and similar issues. And this is
problematic if you want two separate views on the same buffer...
I would
501 - 600 of 679 matches
Mail list logo