fxruby 1.6.48 → 1.6.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/binary.yml +12 -11
- data/.github/workflows/ci.yml +25 -7
- data/Gemfile +1 -1
- data/History.md +9 -0
- data/Rakefile +15 -13
- data/appveyor.yml +1 -1
- data/doap.rdf +2 -2
- data/docs/Fox/Canvas/CanvasError.html +2 -2
- data/docs/Fox/Canvas/CircleShape.html +2 -2
- data/docs/Fox/Canvas/ImageShape.html +2 -2
- data/docs/Fox/Canvas/LineShape.html +2 -2
- data/docs/Fox/Canvas/PolygonShape.html +2 -2
- data/docs/Fox/Canvas/RectangleShape.html +2 -2
- data/docs/Fox/Canvas/SelectionPolicy.html +2 -2
- data/docs/Fox/Canvas/Shape.html +2 -2
- data/docs/Fox/Canvas/ShapeCanvas.html +2 -2
- data/docs/Fox/Canvas/ShapeGroup.html +2 -2
- data/docs/Fox/Canvas/SingleSelectionPolicy.html +2 -2
- data/docs/Fox/Canvas/TextShape.html +2 -2
- data/docs/Fox/Canvas.html +2 -2
- data/docs/Fox/FTNonModal.html +2 -2
- data/docs/Fox/FX4Splitter.html +2 -2
- data/docs/Fox/FX7Segment.html +2 -2
- data/docs/Fox/FXAccelTable.html +2 -2
- data/docs/Fox/FXApp.html +2 -2
- data/docs/Fox/FXArc.html +2 -2
- data/docs/Fox/FXArrowButton.html +2 -2
- data/docs/Fox/FXBMPIcon.html +2 -2
- data/docs/Fox/FXBMPImage.html +2 -2
- data/docs/Fox/FXBitmap.html +2 -2
- data/docs/Fox/FXBitmapFrame.html +2 -2
- data/docs/Fox/FXBitmapView.html +2 -2
- data/docs/Fox/FXButton.html +2 -2
- data/docs/Fox/FXCURCursor.html +2 -2
- data/docs/Fox/FXCalendar.html +2 -2
- data/docs/Fox/FXCanvas.html +2 -2
- data/docs/Fox/FXCheckButton.html +2 -2
- data/docs/Fox/FXChoiceBox.html +2 -2
- data/docs/Fox/FXColor.html +2 -2
- data/docs/Fox/FXColorBar.html +2 -2
- data/docs/Fox/FXColorDialog.html +2 -2
- data/docs/Fox/FXColorItem.html +2 -2
- data/docs/Fox/FXColorList.html +2 -2
- data/docs/Fox/FXColorRing.html +2 -2
- data/docs/Fox/FXColorSelector.html +2 -2
- data/docs/Fox/FXColorWell.html +2 -2
- data/docs/Fox/FXColorWheel.html +2 -2
- data/docs/Fox/FXComboBox.html +2 -2
- data/docs/Fox/FXComboTableItem.html +2 -2
- data/docs/Fox/FXCommand.html +2 -2
- data/docs/Fox/FXComposite.html +2 -2
- data/docs/Fox/FXCursor.html +2 -2
- data/docs/Fox/FXDC.html +2 -2
- data/docs/Fox/FXDCPrint.html +2 -2
- data/docs/Fox/FXDCWindow.html +2 -2
- data/docs/Fox/FXDataTarget.html +2 -2
- data/docs/Fox/FXDebugTarget.html +2 -2
- data/docs/Fox/FXDelegator.html +2 -2
- data/docs/Fox/FXDial.html +2 -2
- data/docs/Fox/FXDialogBox.html +21 -7
- data/docs/Fox/FXDict.html +2 -2
- data/docs/Fox/FXDirBox.html +2 -2
- data/docs/Fox/FXDirDialog.html +2 -2
- data/docs/Fox/FXDirItem.html +2 -2
- data/docs/Fox/FXDirList.html +2 -2
- data/docs/Fox/FXDirSelector.html +2 -2
- data/docs/Fox/FXDockBar.html +2 -2
- data/docs/Fox/FXDockHandler.html +2 -2
- data/docs/Fox/FXDockSite.html +2 -2
- data/docs/Fox/FXDockTitle.html +2 -2
- data/docs/Fox/FXDocument.html +2 -2
- data/docs/Fox/FXDragCorner.html +2 -2
- data/docs/Fox/FXDrawable.html +2 -2
- data/docs/Fox/FXDriveBox.html +2 -2
- data/docs/Fox/FXEvent.html +2 -2
- data/docs/Fox/FXExtentd.html +2 -2
- data/docs/Fox/FXExtentf.html +2 -2
- data/docs/Fox/FXFileAssoc.html +2 -2
- data/docs/Fox/FXFileDialog.html +2 -2
- data/docs/Fox/FXFileDict.html +2 -2
- data/docs/Fox/FXFileItem.html +2 -2
- data/docs/Fox/FXFileList.html +2 -2
- data/docs/Fox/FXFileSelector.html +2 -2
- data/docs/Fox/FXFileStream.html +2 -2
- data/docs/Fox/FXFoldingItem.html +2 -2
- data/docs/Fox/FXFoldingList.html +2 -2
- data/docs/Fox/FXFont.html +2 -2
- data/docs/Fox/FXFontDesc.html +2 -2
- data/docs/Fox/FXFontDialog.html +2 -2
- data/docs/Fox/FXFontSelector.html +2 -2
- data/docs/Fox/FXFrame.html +2 -2
- data/docs/Fox/FXGIFCursor.html +2 -2
- data/docs/Fox/FXGIFIcon.html +2 -2
- data/docs/Fox/FXGIFImage.html +2 -2
- data/docs/Fox/FXGLCanvas.html +2 -2
- data/docs/Fox/FXGLCone.html +2 -2
- data/docs/Fox/FXGLContext.html +2 -2
- data/docs/Fox/FXGLCube.html +2 -2
- data/docs/Fox/FXGLCylinder.html +2 -2
- data/docs/Fox/FXGLGroup.html +2 -2
- data/docs/Fox/FXGLLine.html +2 -2
- data/docs/Fox/FXGLObject.html +2 -2
- data/docs/Fox/FXGLPoint.html +2 -2
- data/docs/Fox/FXGLShape.html +2 -2
- data/docs/Fox/FXGLSphere.html +2 -2
- data/docs/Fox/FXGLViewer.html +2 -2
- data/docs/Fox/FXGLVisual.html +2 -2
- data/docs/Fox/FXGradient.html +2 -2
- data/docs/Fox/FXGradientBar.html +2 -2
- data/docs/Fox/FXGroupBox.html +2 -2
- data/docs/Fox/FXHeader.html +2 -2
- data/docs/Fox/FXHeaderItem.html +2 -2
- data/docs/Fox/FXHiliteStyle.html +2 -2
- data/docs/Fox/FXHorizontalFrame.html +2 -2
- data/docs/Fox/FXHorizontalSeparator.html +2 -2
- data/docs/Fox/FXICOIcon.html +2 -2
- data/docs/Fox/FXICOImage.html +2 -2
- data/docs/Fox/FXIcon.html +2 -2
- data/docs/Fox/FXIconDict.html +2 -2
- data/docs/Fox/FXIconItem.html +2 -2
- data/docs/Fox/FXIconList.html +2 -2
- data/docs/Fox/FXIconSource.html +2 -2
- data/docs/Fox/FXId.html +2 -2
- data/docs/Fox/FXImage.html +2 -2
- data/docs/Fox/FXImageFrame.html +2 -2
- data/docs/Fox/FXImageView.html +2 -2
- data/docs/Fox/FXInputDialog.html +2 -2
- data/docs/Fox/FXIrb.html +2 -2
- data/docs/Fox/FXJPGIcon.html +2 -2
- data/docs/Fox/FXJPGImage.html +2 -2
- data/docs/Fox/FXKnob.html +2 -2
- data/docs/Fox/FXLabel.html +2 -2
- data/docs/Fox/FXLight.html +2 -2
- data/docs/Fox/FXList.html +2 -2
- data/docs/Fox/FXListBox.html +2 -2
- data/docs/Fox/FXListItem.html +2 -2
- data/docs/Fox/FXMDIChild.html +2 -2
- data/docs/Fox/FXMDIClient.html +2 -2
- data/docs/Fox/FXMDIDeleteButton.html +2 -2
- data/docs/Fox/FXMDIMaximizeButton.html +2 -2
- data/docs/Fox/FXMDIMenu.html +2 -2
- data/docs/Fox/FXMDIMinimizeButton.html +2 -2
- data/docs/Fox/FXMDIRestoreButton.html +2 -2
- data/docs/Fox/FXMDIWindowButton.html +2 -2
- data/docs/Fox/FXMainWindow.html +2 -2
- data/docs/Fox/FXMaterial.html +2 -2
- data/docs/Fox/FXMatrix.html +2 -2
- data/docs/Fox/FXMemoryBuffer.html +2 -2
- data/docs/Fox/FXMemoryStream.html +2 -2
- data/docs/Fox/FXMenuBar.html +2 -2
- data/docs/Fox/FXMenuButton.html +2 -2
- data/docs/Fox/FXMenuCaption.html +2 -2
- data/docs/Fox/FXMenuCascade.html +2 -2
- data/docs/Fox/FXMenuCheck.html +2 -2
- data/docs/Fox/FXMenuCommand.html +2 -2
- data/docs/Fox/FXMenuPane.html +2 -2
- data/docs/Fox/FXMenuRadio.html +2 -2
- data/docs/Fox/FXMenuSeparator.html +2 -2
- data/docs/Fox/FXMenuTitle.html +2 -2
- data/docs/Fox/FXMessageBox.html +2 -2
- data/docs/Fox/FXObject.html +2 -2
- data/docs/Fox/FXOption.html +2 -2
- data/docs/Fox/FXOptionMenu.html +2 -2
- data/docs/Fox/FXPCXIcon.html +2 -2
- data/docs/Fox/FXPCXImage.html +2 -2
- data/docs/Fox/FXPNGIcon.html +2 -2
- data/docs/Fox/FXPNGImage.html +2 -2
- data/docs/Fox/FXPPMIcon.html +2 -2
- data/docs/Fox/FXPPMImage.html +2 -2
- data/docs/Fox/FXPSBounds.html +2 -2
- data/docs/Fox/FXPacker.html +2 -2
- data/docs/Fox/FXPicker.html +2 -2
- data/docs/Fox/FXPopup.html +2 -2
- data/docs/Fox/FXPrintDialog.html +2 -2
- data/docs/Fox/FXPrinter.html +2 -2
- data/docs/Fox/FXProgressBar.html +2 -2
- data/docs/Fox/FXProgressDialog.html +2 -2
- data/docs/Fox/FXPseudoKeyboard.html +2 -2
- data/docs/Fox/FXPseudoMouse.html +2 -2
- data/docs/Fox/FXPseudoTarget.html +2 -2
- data/docs/Fox/FXQuatd.html +2 -2
- data/docs/Fox/FXQuatf.html +2 -2
- data/docs/Fox/FXRGBIcon.html +2 -2
- data/docs/Fox/FXRGBImage.html +2 -2
- data/docs/Fox/FXRadioButton.html +2 -2
- data/docs/Fox/FXRanged.html +2 -2
- data/docs/Fox/FXRangef.html +2 -2
- data/docs/Fox/FXRealSlider.html +2 -2
- data/docs/Fox/FXRealSpinner.html +2 -2
- data/docs/Fox/FXRecentFiles.html +2 -2
- data/docs/Fox/FXRectangle.html +2 -2
- data/docs/Fox/FXRegion.html +2 -2
- data/docs/Fox/FXRegistry.html +2 -2
- data/docs/Fox/FXReplaceDialog.html +2 -2
- data/docs/Fox/FXRootWindow.html +2 -2
- data/docs/Fox/FXRuler.html +2 -2
- data/docs/Fox/FXRulerView.html +2 -2
- data/docs/Fox/FXScintilla.html +2 -2
- data/docs/Fox/FXScrollArea.html +2 -2
- data/docs/Fox/FXScrollBar.html +2 -2
- data/docs/Fox/FXScrollCorner.html +2 -2
- data/docs/Fox/FXScrollPane.html +2 -2
- data/docs/Fox/FXScrollWindow.html +2 -2
- data/docs/Fox/FXSearchDialog.html +2 -2
- data/docs/Fox/FXSegment.html +2 -2
- data/docs/Fox/FXSeparator.html +2 -2
- data/docs/Fox/FXSettings.html +2 -2
- data/docs/Fox/FXShell.html +2 -2
- data/docs/Fox/FXShutter.html +2 -2
- data/docs/Fox/FXShutterItem.html +2 -2
- data/docs/Fox/FXSize.html +2 -2
- data/docs/Fox/FXSlider.html +2 -2
- data/docs/Fox/FXSphered.html +2 -2
- data/docs/Fox/FXSpheref.html +2 -2
- data/docs/Fox/FXSpinner.html +2 -2
- data/docs/Fox/FXSplashScreen.html +2 -2
- data/docs/Fox/FXSplashWindow.html +2 -2
- data/docs/Fox/FXSplitter.html +2 -2
- data/docs/Fox/FXSpring.html +2 -2
- data/docs/Fox/FXStatusBar.html +2 -2
- data/docs/Fox/FXStatusLine.html +2 -2
- data/docs/Fox/FXStream.html +2 -2
- data/docs/Fox/FXStreamAllocError.html +2 -2
- data/docs/Fox/FXStreamEndError.html +2 -2
- data/docs/Fox/FXStreamError.html +2 -2
- data/docs/Fox/FXStreamFailureError.html +2 -2
- data/docs/Fox/FXStreamFormatError.html +2 -2
- data/docs/Fox/FXStreamFullError.html +2 -2
- data/docs/Fox/FXStreamNoReadError.html +2 -2
- data/docs/Fox/FXStreamNoWriteError.html +2 -2
- data/docs/Fox/FXStreamUnknownError.html +2 -2
- data/docs/Fox/FXStringDict.html +2 -2
- data/docs/Fox/FXSwitcher.html +2 -2
- data/docs/Fox/FXTGAIcon.html +2 -2
- data/docs/Fox/FXTGAImage.html +2 -2
- data/docs/Fox/FXTIFIcon.html +2 -2
- data/docs/Fox/FXTIFImage.html +2 -2
- data/docs/Fox/FXTabBar.html +2 -2
- data/docs/Fox/FXTabBook.html +2 -2
- data/docs/Fox/FXTabItem.html +2 -2
- data/docs/Fox/FXTable.html +2 -2
- data/docs/Fox/FXTableItem.html +2 -2
- data/docs/Fox/FXTablePos.html +2 -2
- data/docs/Fox/FXTableRange.html +2 -2
- data/docs/Fox/FXText.html +2 -2
- data/docs/Fox/FXTextChange.html +2 -2
- data/docs/Fox/FXTextField.html +2 -2
- data/docs/Fox/FXToggleButton.html +2 -2
- data/docs/Fox/FXToolBar.html +2 -2
- data/docs/Fox/FXToolBarGrip.html +2 -2
- data/docs/Fox/FXToolBarShell.html +2 -2
- data/docs/Fox/FXToolBarTab.html +2 -2
- data/docs/Fox/FXToolTip.html +2 -2
- data/docs/Fox/FXTopWindow.html +6 -9
- data/docs/Fox/FXTranslator.html +2 -2
- data/docs/Fox/FXTreeItem.html +2 -2
- data/docs/Fox/FXTreeList.html +2 -2
- data/docs/Fox/FXTreeListBox.html +2 -2
- data/docs/Fox/FXTriStateButton.html +2 -2
- data/docs/Fox/FXUndoList.html +2 -2
- data/docs/Fox/FXVec2d.html +2 -2
- data/docs/Fox/FXVec2f.html +2 -2
- data/docs/Fox/FXVec3d.html +2 -2
- data/docs/Fox/FXVec3f.html +2 -2
- data/docs/Fox/FXVec4d.html +2 -2
- data/docs/Fox/FXVec4f.html +2 -2
- data/docs/Fox/FXVerticalFrame.html +2 -2
- data/docs/Fox/FXVerticalSeparator.html +2 -2
- data/docs/Fox/FXViewport.html +2 -2
- data/docs/Fox/FXVisual.html +2 -2
- data/docs/Fox/FXWindow.html +3 -3
- data/docs/Fox/FXWizard.html +2 -2
- data/docs/Fox/FXXBMIcon.html +2 -2
- data/docs/Fox/FXXBMImage.html +2 -2
- data/docs/Fox/FXXPMIcon.html +2 -2
- data/docs/Fox/FXXPMImage.html +2 -2
- data/docs/Fox/NotifyHeader.html +2 -2
- data/docs/Fox/SCNotification.html +2 -2
- data/docs/Fox/TextRange.html +2 -2
- data/docs/Fox.html +3 -3
- data/docs/IRB.html +2 -2
- data/docs/Responder.html +2 -2
- data/docs/Responder2.html +2 -2
- data/docs/_index.html +2 -2
- data/docs/class_list.html +6 -3
- data/docs/css/full_list.css +3 -3
- data/docs/css/style.css +6 -0
- data/docs/file.History.html +21 -3
- data/docs/file.README.html +2 -2
- data/docs/file_list.html +5 -2
- data/docs/frames.html +9 -4
- data/docs/index.html +3 -3
- data/docs/js/app.js +294 -264
- data/docs/js/full_list.js +30 -4
- data/docs/method_list.html +5 -2
- data/docs/top-level-namespace.html +2 -2
- data/ext/fox16_c/extconf.rb +32 -17
- data/ext/fox16_c/scintilla_wrap.cpp +8 -1
- data/fxruby.gemspec +2 -2
- data/lib/fox16/scintilla.rb +750 -22
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FXDialogBox.rb +12 -0
- data/rdoc-sources/FXToolTip.rb +1 -1
- data/rdoc-sources/FXTopWindow.rb +1 -1
- data/rdoc-sources/FXWindow.rb +1 -1
- data/swig-interfaces/FXScintilla.i +8 -1
- data/test/TC_FXApp.rb +2 -1
- data/test/TC_FXButton.rb +2 -1
- data/test/TC_FXDialogBox.rb +2 -1
- data/test/TC_FXGLViewer.rb +2 -1
- data/test/TC_FXMainWindow.rb +2 -1
- data/test/TC_FXMessageBox.rb +2 -1
- data/test/TC_FXScrollArea.rb +2 -1
- data/test/TC_FXShell.rb +2 -1
- data/test/TC_FXSize.rb +4 -2
- data.tar.gz.sig +0 -0
- metadata +16 -16
- metadata.gz.sig +0 -0
data/lib/fox16/scintilla.rb
CHANGED
@@ -35,11 +35,21 @@ module Fox
|
|
35
35
|
sendMessage(2003, pos, text)
|
36
36
|
end
|
37
37
|
|
38
|
+
# Change the text that is being inserted in response to SC_MOD_INSERTCHECK
|
39
|
+
def changeInsertion(length, text)
|
40
|
+
sendMessage(2672, length, text)
|
41
|
+
end
|
42
|
+
|
38
43
|
# Delete all text in the document.
|
39
44
|
def clearAll
|
40
45
|
sendMessage(2004, 0, 0)
|
41
46
|
end
|
42
47
|
|
48
|
+
# Delete a range of text in the document.
|
49
|
+
def deleteRange(pos, deleteLength)
|
50
|
+
sendMessage(2645, pos, deleteLength)
|
51
|
+
end
|
52
|
+
|
43
53
|
# Set all style bytes to 0, remove all folding information.
|
44
54
|
def clearDocumentStyle
|
45
55
|
sendMessage(2005, 0, 0)
|
@@ -225,6 +235,21 @@ module Fox
|
|
225
235
|
sendMessage(2121, 0, 0)
|
226
236
|
end
|
227
237
|
|
238
|
+
# Clear explicit tabstops on a line.
|
239
|
+
def clearTabStops(line)
|
240
|
+
sendMessage(2675, line, 0)
|
241
|
+
end
|
242
|
+
|
243
|
+
# Add an explicit tab stop for a line.
|
244
|
+
def addTabStop(line, x)
|
245
|
+
sendMessage(2676, line, x)
|
246
|
+
end
|
247
|
+
|
248
|
+
# Find the next explicit tab stop position on a line after a position.
|
249
|
+
def getNextTabStop(line, x)
|
250
|
+
sendMessage(2677, line, x)
|
251
|
+
end
|
252
|
+
|
228
253
|
# The SC_CP_UTF8 value can be used to enter Unicode mode.
|
229
254
|
# This is the same value as CP_UTF8 in Windows
|
230
255
|
SC_CP_UTF8 = 65001
|
@@ -235,10 +260,17 @@ module Fox
|
|
235
260
|
sendMessage(2037, codePage, 0)
|
236
261
|
end
|
237
262
|
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
263
|
+
SC_IME_WINDOWED = 0
|
264
|
+
SC_IME_INLINE = 1
|
265
|
+
|
266
|
+
# Is the IME displayed in a winow or inline?
|
267
|
+
def getIMEInteraction
|
268
|
+
sendMessage(2678, 0, 0)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Choose to display the the IME in a winow or inline.
|
272
|
+
def setIMEInteraction(imeInteraction)
|
273
|
+
sendMessage(2679, imeInteraction, 0)
|
242
274
|
end
|
243
275
|
|
244
276
|
MARKER_MAX = 31
|
@@ -277,6 +309,7 @@ module Fox
|
|
277
309
|
SC_MARK_AVAILABLE = 28
|
278
310
|
SC_MARK_UNDERLINE = 29
|
279
311
|
SC_MARK_RGBAIMAGE = 30
|
312
|
+
SC_MARK_BOOKMARK = 31
|
280
313
|
|
281
314
|
SC_MARK_CHARACTER = 10000
|
282
315
|
|
@@ -362,6 +395,8 @@ module Fox
|
|
362
395
|
sendMessage(2476, markerNumber, alpha)
|
363
396
|
end
|
364
397
|
|
398
|
+
SC_MAX_MARGIN = 4
|
399
|
+
|
365
400
|
SC_MARGIN_SYMBOL = 0
|
366
401
|
SC_MARGIN_NUMBER = 1
|
367
402
|
SC_MARGIN_BACK = 2
|
@@ -583,6 +618,32 @@ module Fox
|
|
583
618
|
sendMessage(2060, style, caseForce)
|
584
619
|
end
|
585
620
|
|
621
|
+
SC_FONT_SIZE_MULTIPLIER = 100
|
622
|
+
|
623
|
+
# Set the size of characters of a style. Size is in points multiplied by 100.
|
624
|
+
def styleSetSizeFractional(style, caseForce)
|
625
|
+
sendMessage(2061, style, caseForce)
|
626
|
+
end
|
627
|
+
|
628
|
+
# Get the size of characters of a style in points multiplied by 100
|
629
|
+
def styleGetSizeFractional(style)
|
630
|
+
sendMessage(2062, style, 0)
|
631
|
+
end
|
632
|
+
|
633
|
+
SC_WEIGHT_NORMAL = 400
|
634
|
+
SC_WEIGHT_SEMIBOLD = 600
|
635
|
+
SC_WEIGHT_BOLD = 700
|
636
|
+
|
637
|
+
# Set the weight of characters of a style.
|
638
|
+
def styleSetWeight(style, weight)
|
639
|
+
sendMessage(2063, style, weight)
|
640
|
+
end
|
641
|
+
|
642
|
+
# Get the weight of characters of a style.
|
643
|
+
def styleGetWeight(style)
|
644
|
+
sendMessage(2064, style, 0)
|
645
|
+
end
|
646
|
+
|
586
647
|
# Set the character set of the font in a style.
|
587
648
|
def styleSetCharacterSet(style, characterSet)
|
588
649
|
sendMessage(2066, style, characterSet)
|
@@ -669,6 +730,12 @@ module Fox
|
|
669
730
|
sendMessage(2077, 0, characters)
|
670
731
|
end
|
671
732
|
|
733
|
+
# Get the set of characters making up words for when moving or selecting by word.
|
734
|
+
# Retuns the number of characters
|
735
|
+
def getWordChars
|
736
|
+
sendMessage(2646, 0, characters)
|
737
|
+
end
|
738
|
+
|
672
739
|
# Start a sequence of actions that is undone and redone as a unit.
|
673
740
|
# May be nested.
|
674
741
|
def beginUndoAction
|
@@ -694,7 +761,11 @@ module Fox
|
|
694
761
|
INDIC_DOTS = 10
|
695
762
|
INDIC_SQUIGGLELOW = 11
|
696
763
|
INDIC_DOTBOX = 12
|
697
|
-
|
764
|
+
INDIC_SQUIGGLEPIXMAP = 13
|
765
|
+
INDIC_COMPOSITIONTHICK = 14
|
766
|
+
INDIC_IME = 32
|
767
|
+
INDIC_IME_MAX = 35
|
768
|
+
INDIC_MAX = 35
|
698
769
|
INDIC_CONTAINER = 8
|
699
770
|
INDIC0_MASK = 0x20
|
700
771
|
INDIC1_MASK = 0x40
|
@@ -1000,11 +1071,15 @@ module Fox
|
|
1000
1071
|
sendMessage(2129, pos, 0)
|
1001
1072
|
end
|
1002
1073
|
|
1074
|
+
# Count characters between two positions.
|
1075
|
+
def countCharacters(startPos, endPos)
|
1076
|
+
sendMessage(2633, startPos, endPos)
|
1077
|
+
end
|
1078
|
+
|
1003
1079
|
# Show or hide the horizontal scroll bar.
|
1004
1080
|
def setHScrollBar(show)
|
1005
1081
|
sendMessage(2130, show, 0)
|
1006
1082
|
end
|
1007
|
-
|
1008
1083
|
# Is the horizontal scroll bar visible?
|
1009
1084
|
def getHScrollBar
|
1010
1085
|
sendMessage(2131, 0, 0) == 1 ? true : false
|
@@ -1051,11 +1126,6 @@ module Fox
|
|
1051
1126
|
sendMessage(2138, 0, 0)
|
1052
1127
|
end
|
1053
1128
|
|
1054
|
-
# In palette mode?
|
1055
|
-
def getUsePalette
|
1056
|
-
sendMessage(2139, 0, 0) == 1 ? true : false
|
1057
|
-
end
|
1058
|
-
|
1059
1129
|
# In read-only mode?
|
1060
1130
|
def getReadOnly
|
1061
1131
|
sendMessage(2140, 0, 0) == 1 ? true : false
|
@@ -1122,11 +1192,12 @@ module Fox
|
|
1122
1192
|
sendMessage(2149, 0, 0)
|
1123
1193
|
end
|
1124
1194
|
|
1125
|
-
SCFIND_WHOLEWORD =
|
1126
|
-
SCFIND_MATCHCASE =
|
1195
|
+
SCFIND_WHOLEWORD = 0x2
|
1196
|
+
SCFIND_MATCHCASE = 0x4
|
1127
1197
|
SCFIND_WORDSTART = 0x00100000
|
1128
1198
|
SCFIND_REGEXP = 0x00200000
|
1129
1199
|
SCFIND_POSIX = 0x00400000
|
1200
|
+
SCFIND_CXX11REGEX = 0x00800000
|
1130
1201
|
|
1131
1202
|
# Find some text in the document.
|
1132
1203
|
def findText(flags, ft)
|
@@ -1233,6 +1304,13 @@ module Fox
|
|
1233
1304
|
sendMessage(2169, 0, 0)
|
1234
1305
|
end
|
1235
1306
|
|
1307
|
+
# Scroll the argument positions and the range between them into view giving
|
1308
|
+
# priority to the primary position then the secondary position.
|
1309
|
+
# This may be used to make a search match visible.
|
1310
|
+
def scrollRange(secondary, primary)
|
1311
|
+
sendMessage(2569, secondary, primary)
|
1312
|
+
end
|
1313
|
+
|
1236
1314
|
# Replace the selected text with the argument text.
|
1237
1315
|
def replaceSel(text)
|
1238
1316
|
sendMessage(2170, 0, text)
|
@@ -1413,6 +1491,11 @@ module Fox
|
|
1413
1491
|
sendMessage(2203, 0, 0)
|
1414
1492
|
end
|
1415
1493
|
|
1494
|
+
# Set the start position in order to change when backspacing removes the calltip.
|
1495
|
+
def callTipSetPosStart(posStart)
|
1496
|
+
sendMessage(2214, posStart, 0)
|
1497
|
+
end
|
1498
|
+
|
1416
1499
|
# Highlight a segment of the definition.
|
1417
1500
|
def callTipSetHlt(start, last)
|
1418
1501
|
sendMessage(2204, start, last)
|
@@ -1438,6 +1521,11 @@ module Fox
|
|
1438
1521
|
sendMessage(2212, tabSize, 0)
|
1439
1522
|
end
|
1440
1523
|
|
1524
|
+
# Set position of calltip, above or below text.
|
1525
|
+
def callTipSetPosition(above)
|
1526
|
+
sendMessage(2213, above, 0)
|
1527
|
+
end
|
1528
|
+
|
1441
1529
|
# Find the display line of a document line taking hidden lines into account.
|
1442
1530
|
def visibleFromDocLine(line)
|
1443
1531
|
sendMessage(2220, line, 0)
|
@@ -1495,6 +1583,11 @@ module Fox
|
|
1495
1583
|
sendMessage(2228, line, 0) == 1 ? true : false
|
1496
1584
|
end
|
1497
1585
|
|
1586
|
+
# Are all lines visible?
|
1587
|
+
def getAllLinesVisible
|
1588
|
+
sendMessage(2236, 0, 0) == 1 ? true : false
|
1589
|
+
end
|
1590
|
+
|
1498
1591
|
# Show the children of a header line.
|
1499
1592
|
def setFoldExpanded(line, expanded)
|
1500
1593
|
sendMessage(2229, line, expanded)
|
@@ -1510,16 +1603,55 @@ module Fox
|
|
1510
1603
|
sendMessage(2231, line, 0)
|
1511
1604
|
end
|
1512
1605
|
|
1606
|
+
SC_FOLDACTION_CONTRACT = 0
|
1607
|
+
SC_FOLDACTION_EXPAND = 1
|
1608
|
+
SC_FOLDACTION_TOGGLE = 2
|
1609
|
+
|
1610
|
+
# Expand or contract a fold header.
|
1611
|
+
def foldLine(line, action)
|
1612
|
+
sendMessage(2237, line, action)
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
# Expand or contract a fold header and its children.
|
1616
|
+
def foldChildren(line, action)
|
1617
|
+
sendMessage(2238, line, action)
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
# Expand a fold header and all children. Use the level argument instead of the line's current level.
|
1621
|
+
def expandChildren(line, level)
|
1622
|
+
sendMessage(2239, line, level)
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
# Expand or contract all fold headers.
|
1626
|
+
def foldAll(action)
|
1627
|
+
sendMessage(2662, action, 0)
|
1628
|
+
end
|
1629
|
+
|
1513
1630
|
# Ensure a particular line is visible by expanding any header line hiding it.
|
1514
1631
|
def ensureVisible(line)
|
1515
1632
|
sendMessage(2232, line, 0)
|
1516
1633
|
end
|
1517
1634
|
|
1635
|
+
SC_AUTOMATICFOLD_SHOW = 0x0001
|
1636
|
+
SC_AUTOMATICFOLD_CLICK = 0x0002
|
1637
|
+
SC_AUTOMATICFOLD_CHANGE = 0x0004
|
1638
|
+
|
1639
|
+
# Set automatic folding behaviours.
|
1640
|
+
def setAutomaticFold(automaticFold)
|
1641
|
+
sendMessage(2663, automaticFold, 0)
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
# Get automatic folding behaviours.
|
1645
|
+
def getAutomaticFold
|
1646
|
+
sendMessage(2664, 0, 0)
|
1647
|
+
end
|
1648
|
+
|
1518
1649
|
SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002
|
1519
1650
|
SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004
|
1520
1651
|
SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008
|
1521
1652
|
SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010
|
1522
1653
|
SC_FOLDFLAG_LEVELNUMBERS = 0x0040
|
1654
|
+
SC_FOLDFLAG_LINESTATE = 0x0080
|
1523
1655
|
|
1524
1656
|
# Set some style options for folding.
|
1525
1657
|
def setFoldFlags(flags)
|
@@ -1577,6 +1709,7 @@ module Fox
|
|
1577
1709
|
SC_WRAP_NONE = 0
|
1578
1710
|
SC_WRAP_WORD = 1
|
1579
1711
|
SC_WRAP_CHAR = 2
|
1712
|
+
SC_WRAP_WHITESPACE = 3
|
1580
1713
|
|
1581
1714
|
# Sets whether text is word wrapped.
|
1582
1715
|
def setWrapMode(mode)
|
@@ -1591,6 +1724,7 @@ module Fox
|
|
1591
1724
|
SC_WRAPVISUALFLAG_NONE = 0x0000
|
1592
1725
|
SC_WRAPVISUALFLAG_END = 0x0001
|
1593
1726
|
SC_WRAPVISUALFLAG_START = 0x0002
|
1727
|
+
SC_WRAPVISUALFLAG_MARGIN = 0x0004
|
1594
1728
|
|
1595
1729
|
# Set the display mode of visual flags for wrapped lines.
|
1596
1730
|
def setWrapVisualFlags(wrapVisualFlags)
|
@@ -1715,7 +1849,7 @@ module Fox
|
|
1715
1849
|
sendMessage(2282, length, text)
|
1716
1850
|
end
|
1717
1851
|
|
1718
|
-
# Is drawing done in two phases with backgrounds drawn before
|
1852
|
+
# Is drawing done in two phases with backgrounds drawn before foregrounds?
|
1719
1853
|
def getTwoPhaseDraw
|
1720
1854
|
sendMessage(2283, 0, 0) == 1 ? true : false
|
1721
1855
|
end
|
@@ -1726,6 +1860,23 @@ module Fox
|
|
1726
1860
|
sendMessage(2284, twoPhase, 0)
|
1727
1861
|
end
|
1728
1862
|
|
1863
|
+
SC_PHASES_ONE = 0
|
1864
|
+
SC_PHASES_TWO = 1
|
1865
|
+
SC_PHASES_MULTIPLE = 2
|
1866
|
+
|
1867
|
+
# How many phases is drawing done in?
|
1868
|
+
def getPhasesDraw
|
1869
|
+
sendMessage(2673, 0, 0)
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
# In one phase draw, text is drawn in a series of rectangular blocks with no overlap.
|
1873
|
+
# In two phase draw, text is drawn in a series of lines allowing runs to overlap horizontally.
|
1874
|
+
# In multiple phase draw, each element is drawn over the whole drawing area, allowing text
|
1875
|
+
# to overlap from one line to the next.
|
1876
|
+
def setPhasesDraw(phases)
|
1877
|
+
sendMessage(2674, phases, 0)
|
1878
|
+
end
|
1879
|
+
|
1729
1880
|
# Control font anti-aliasing.
|
1730
1881
|
|
1731
1882
|
SC_EFF_QUALITY_MASK = 0xF
|
@@ -2254,6 +2405,8 @@ module Fox
|
|
2254
2405
|
SC_STATUS_OK = 0
|
2255
2406
|
SC_STATUS_FAILURE = 1
|
2256
2407
|
SC_STATUS_BADALLOC = 2
|
2408
|
+
SC_STATUS_WARN_START = 1000
|
2409
|
+
SC_STATUS_WARN_REGEX = 1001
|
2257
2410
|
|
2258
2411
|
# Change error status - 0 = OK.
|
2259
2412
|
def setStatus(statusCode)
|
@@ -2334,7 +2487,7 @@ module Fox
|
|
2334
2487
|
sendMessage(2396, 0, 0)
|
2335
2488
|
end
|
2336
2489
|
|
2337
|
-
# Get and Set the xOffset (ie,
|
2490
|
+
# Get and Set the xOffset (ie, horizontal scroll position).
|
2338
2491
|
def setXOffset(newOffset)
|
2339
2492
|
sendMessage(2397, newOffset, 0)
|
2340
2493
|
end
|
@@ -2375,7 +2528,7 @@ module Fox
|
|
2375
2528
|
# where most code reside, and the lines after the caret, eg. the body of a function.
|
2376
2529
|
CARET_EVEN = 0x08
|
2377
2530
|
|
2378
|
-
# Set the way the caret is kept visible when going
|
2531
|
+
# Set the way the caret is kept visible when going sideways.
|
2379
2532
|
# The exclusion zone is given in pixels.
|
2380
2533
|
def setXCaretPolicy(caretPolicy, caretSlop)
|
2381
2534
|
sendMessage(2402, caretPolicy, caretSlop)
|
@@ -2463,6 +2616,12 @@ module Fox
|
|
2463
2616
|
sendMessage(2418, pos, 0)
|
2464
2617
|
end
|
2465
2618
|
|
2619
|
+
# Given a valid document position, return a position that differs in a number
|
2620
|
+
# of characters. Returned value is always between 0 and last position in document.
|
2621
|
+
def positionRelative(pos, relative)
|
2622
|
+
sendMessage(2670, pos, relative)
|
2623
|
+
end
|
2624
|
+
|
2466
2625
|
# Copy a range of text to the clipboard. Positions are clipped into the document.
|
2467
2626
|
def copyRange(start, last)
|
2468
2627
|
sendMessage(2419, start, last)
|
@@ -2594,6 +2753,22 @@ module Fox
|
|
2594
2753
|
sendMessage(2443, 0, characters)
|
2595
2754
|
end
|
2596
2755
|
|
2756
|
+
# Get the set of characters making up whitespace for when moving or selecting by word.
|
2757
|
+
def getWhitespaceChars
|
2758
|
+
sendMessage(2647, 0, characters)
|
2759
|
+
end
|
2760
|
+
|
2761
|
+
# Set the set of characters making up punctuation characters
|
2762
|
+
# Should be called after SetWordChars.
|
2763
|
+
def setPunctuationChars(characters)
|
2764
|
+
sendMessage(2648, 0, characters)
|
2765
|
+
end
|
2766
|
+
|
2767
|
+
# Get the set of characters making up punctuation characters
|
2768
|
+
def getPunctuationChars
|
2769
|
+
sendMessage(2649, 0, characters)
|
2770
|
+
end
|
2771
|
+
|
2597
2772
|
# Reset the set of characters for whitespace and word characters to the defaults.
|
2598
2773
|
def setCharsDefault
|
2599
2774
|
sendMessage(2444, 0, 0)
|
@@ -2610,6 +2785,46 @@ module Fox
|
|
2610
2785
|
sendMessage(2610, 0, s)
|
2611
2786
|
end
|
2612
2787
|
|
2788
|
+
SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE = 0
|
2789
|
+
SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE = 1
|
2790
|
+
|
2791
|
+
# Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference.
|
2792
|
+
def autoCSetCaseInsensitiveBehaviour(behaviour)
|
2793
|
+
sendMessage(2634, behaviour, 0)
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
# Get auto-completion case insensitive behaviour.
|
2797
|
+
def autoCGetCaseInsensitiveBehaviour
|
2798
|
+
sendMessage(2635, 0, 0)
|
2799
|
+
end
|
2800
|
+
|
2801
|
+
SC_MULTIAUTOC_ONCE = 0
|
2802
|
+
SC_MULTIAUTOC_EACH = 1
|
2803
|
+
|
2804
|
+
# Change the effect of autocompleting when there are multiple selections.
|
2805
|
+
def autoCSetMulti(multi)
|
2806
|
+
sendMessage(2636, multi, 0)
|
2807
|
+
end
|
2808
|
+
|
2809
|
+
# Retrieve the effect of autocompleting when there are multiple selections..
|
2810
|
+
def autoCGetMulti
|
2811
|
+
sendMessage(2637, 0, 0)
|
2812
|
+
end
|
2813
|
+
|
2814
|
+
SC_ORDER_PRESORTED = 0
|
2815
|
+
SC_ORDER_PERFORMSORT = 1
|
2816
|
+
SC_ORDER_CUSTOM = 2
|
2817
|
+
|
2818
|
+
# Set the way autocompletion lists are ordered.
|
2819
|
+
def autoCSetOrder(order)
|
2820
|
+
sendMessage(2660, order, 0)
|
2821
|
+
end
|
2822
|
+
|
2823
|
+
# Get the way autocompletion lists are ordered.
|
2824
|
+
def autoCGetOrder
|
2825
|
+
sendMessage(2661, 0, 0)
|
2826
|
+
end
|
2827
|
+
|
2613
2828
|
# Enlarge the document to a particular size of text bytes.
|
2614
2829
|
def allocate(bytes)
|
2615
2830
|
sendMessage(2446, bytes, 0)
|
@@ -2719,7 +2934,7 @@ module Fox
|
|
2719
2934
|
sendMessage(2502, value, 0)
|
2720
2935
|
end
|
2721
2936
|
|
2722
|
-
# Get the current indicator
|
2937
|
+
# Get the current indicator value
|
2723
2938
|
def getIndicatorValue
|
2724
2939
|
sendMessage(2503, 0, 0)
|
2725
2940
|
end
|
@@ -2775,6 +2990,19 @@ module Fox
|
|
2775
2990
|
sendMessage(2520, 0, 0)
|
2776
2991
|
end
|
2777
2992
|
|
2993
|
+
# Return a read-only pointer to a range of characters in the document.
|
2994
|
+
# May move the gap so that the range is contiguous, but will only move up
|
2995
|
+
# to rangeLength bytes.
|
2996
|
+
def getRangePointer(position, rangeLength)
|
2997
|
+
sendMessage(2643, position, rangeLength)
|
2998
|
+
end
|
2999
|
+
|
3000
|
+
# Return a position which, to avoid performance costs, should not be within
|
3001
|
+
# the range of a call to GetRangePointer.
|
3002
|
+
def getGapPosition
|
3003
|
+
sendMessage(2644, 0, 0)
|
3004
|
+
end
|
3005
|
+
|
2778
3006
|
# Always interpret keyboard input as Unicode
|
2779
3007
|
def setKeysUnicode(keysUnicode)
|
2780
3008
|
sendMessage(2521, keysUnicode, 0)
|
@@ -2939,6 +3167,7 @@ module Fox
|
|
2939
3167
|
ANNOTATION_HIDDEN = 0
|
2940
3168
|
ANNOTATION_STANDARD = 1
|
2941
3169
|
ANNOTATION_BOXED = 2
|
3170
|
+
ANNOTATION_INDENTED = 3
|
2942
3171
|
|
2943
3172
|
# Set the visibility for the annotations for a view
|
2944
3173
|
def annotationSetVisible(visible)
|
@@ -2960,6 +3189,16 @@ module Fox
|
|
2960
3189
|
sendMessage(2551, 0, 0)
|
2961
3190
|
end
|
2962
3191
|
|
3192
|
+
# Release all extended (>255) style numbers
|
3193
|
+
def releaseAllExtendedStyles
|
3194
|
+
sendMessage(2552, 0, 0)
|
3195
|
+
end
|
3196
|
+
|
3197
|
+
# Allocate some extended (>255) style numbers and return the start of the range
|
3198
|
+
def allocateExtendedStyles(numberStyles)
|
3199
|
+
sendMessage(2553, numberStyles, 0)
|
3200
|
+
end
|
3201
|
+
|
2963
3202
|
UNDO_MAY_COALESCE = 1
|
2964
3203
|
|
2965
3204
|
# Add a container action to the undo stack
|
@@ -2978,6 +3217,16 @@ module Fox
|
|
2978
3217
|
sendMessage(2562, x, y)
|
2979
3218
|
end
|
2980
3219
|
|
3220
|
+
# Set whether switching to rectangular mode while selecting with the mouse is allowed.
|
3221
|
+
def setMouseSelectionRectangularSwitch(mouseSelectionRectangularSwitch)
|
3222
|
+
sendMessage(2668, mouseSelectionRectangularSwitch, 0)
|
3223
|
+
end
|
3224
|
+
|
3225
|
+
# Whether switching to rectangular mode while selecting with the mouse is allowed.
|
3226
|
+
def getMouseSelectionRectangularSwitch
|
3227
|
+
sendMessage(2669, 0, 0) == 1 ? true : false
|
3228
|
+
end
|
3229
|
+
|
2981
3230
|
# Set whether multiple selections can be made
|
2982
3231
|
def setMultipleSelection(multipleSelection)
|
2983
3232
|
sendMessage(2563, multipleSelection, 0)
|
@@ -3023,6 +3272,11 @@ module Fox
|
|
3023
3272
|
sendMessage(2570, 0, 0)
|
3024
3273
|
end
|
3025
3274
|
|
3275
|
+
# Is every selected range empty?
|
3276
|
+
def getSelectionEmpty
|
3277
|
+
sendMessage(2650, 0, 0) == 1 ? true : false
|
3278
|
+
end
|
3279
|
+
|
3026
3280
|
# Clear selections to a single empty stream selection
|
3027
3281
|
def clearSelections
|
3028
3282
|
sendMessage(2571, 0, 0)
|
@@ -3038,6 +3292,11 @@ module Fox
|
|
3038
3292
|
sendMessage(2573, caret, anchor)
|
3039
3293
|
end
|
3040
3294
|
|
3295
|
+
# Drop one selection
|
3296
|
+
def dropSelectionN(selection)
|
3297
|
+
sendMessage(2671, selection, 0)
|
3298
|
+
end
|
3299
|
+
|
3041
3300
|
# Set the main selection
|
3042
3301
|
def setMainSelection(selection)
|
3043
3302
|
sendMessage(2574, selection, 0)
|
@@ -3085,7 +3344,7 @@ module Fox
|
|
3085
3344
|
|
3086
3345
|
# Sets the position that ends the selection - this becomes the currentPosition.
|
3087
3346
|
def setSelectionNEnd(selection, pos)
|
3088
|
-
sendMessage(2586, selection, pos
|
3347
|
+
sendMessage(2586, selection, pos)
|
3089
3348
|
end
|
3090
3349
|
|
3091
3350
|
# Returns the position at the end of the selection.
|
@@ -3232,13 +3491,18 @@ module Fox
|
|
3232
3491
|
sendMessage(2625, height, 0)
|
3233
3492
|
end
|
3234
3493
|
|
3494
|
+
# Set the scale factor in percent for future RGBA image data.
|
3495
|
+
def rGBAImageSetScale(scalePercent)
|
3496
|
+
sendMessage(2651, scalePercent, 0)
|
3497
|
+
end
|
3498
|
+
|
3235
3499
|
# Define a marker from RGBA data.
|
3236
3500
|
# It has the width and height from RGBAImageSetWidth/Height
|
3237
3501
|
def markerDefineRGBAImage(markerNumber, pixels)
|
3238
3502
|
sendMessage(2626, markerNumber, pixels)
|
3239
3503
|
end
|
3240
3504
|
|
3241
|
-
# Register an RGBA image for use in autocompletion lists.
|
3505
|
+
# Register an RGBA image for use in autocompletion lists.
|
3242
3506
|
# It has the width and height from RGBAImageSetWidth/Height
|
3243
3507
|
def registerRGBAImage(type, pixels)
|
3244
3508
|
sendMessage(2627, type, pixels)
|
@@ -3254,6 +3518,100 @@ module Fox
|
|
3254
3518
|
sendMessage(2629, 0, 0)
|
3255
3519
|
end
|
3256
3520
|
|
3521
|
+
SC_TECHNOLOGY_DEFAULT = 0
|
3522
|
+
SC_TECHNOLOGY_DIRECTWRITE = 1
|
3523
|
+
SC_TECHNOLOGY_DIRECTWRITERETAIN = 2
|
3524
|
+
SC_TECHNOLOGY_DIRECTWRITEDC = 3
|
3525
|
+
|
3526
|
+
# Set the technology used.
|
3527
|
+
def setTechnology(technology)
|
3528
|
+
sendMessage(2630, technology, 0)
|
3529
|
+
end
|
3530
|
+
|
3531
|
+
# Get the tech.
|
3532
|
+
def getTechnology
|
3533
|
+
sendMessage(2631, 0, 0)
|
3534
|
+
end
|
3535
|
+
|
3536
|
+
# Create an ILoader*.
|
3537
|
+
def createLoader(bytes)
|
3538
|
+
sendMessage(2632, bytes, 0)
|
3539
|
+
end
|
3540
|
+
|
3541
|
+
# On OS X, show a find indicator.
|
3542
|
+
def findIndicatorShow(start, last)
|
3543
|
+
sendMessage(2640, start, last)
|
3544
|
+
end
|
3545
|
+
|
3546
|
+
# On OS X, flash a find indicator, then fade out.
|
3547
|
+
def findIndicatorFlash(start, last)
|
3548
|
+
sendMessage(2641, start, last)
|
3549
|
+
end
|
3550
|
+
|
3551
|
+
# On OS X, hide the find indicator.
|
3552
|
+
def findIndicatorHide
|
3553
|
+
sendMessage(2642, 0, 0)
|
3554
|
+
end
|
3555
|
+
|
3556
|
+
# Move caret to before first visible character on display line.
|
3557
|
+
# If already there move to first character on display line.
|
3558
|
+
def vCHomeDisplay
|
3559
|
+
sendMessage(2652, 0, 0)
|
3560
|
+
end
|
3561
|
+
|
3562
|
+
# Like VCHomeDisplay but extending selection to new caret position.
|
3563
|
+
def vCHomeDisplayExtend
|
3564
|
+
sendMessage(2653, 0, 0)
|
3565
|
+
end
|
3566
|
+
|
3567
|
+
# Is the caret line always visible?
|
3568
|
+
def getCaretLineVisibleAlways
|
3569
|
+
sendMessage(2654, 0, 0) == 1 ? true : false
|
3570
|
+
end
|
3571
|
+
|
3572
|
+
# Sets the caret line to always visible.
|
3573
|
+
def setCaretLineVisibleAlways(alwaysVisible)
|
3574
|
+
sendMessage(2655, alwaysVisible, 0)
|
3575
|
+
end
|
3576
|
+
|
3577
|
+
# Line end types which may be used in addition to LF, CR, and CRLF
|
3578
|
+
# SC_LINE_END_TYPE_UNICODE includes U+2028 Line Separator,
|
3579
|
+
# U+2029 Paragraph Separator, and U+0085 Next Line
|
3580
|
+
SC_LINE_END_TYPE_DEFAULT = 0
|
3581
|
+
SC_LINE_END_TYPE_UNICODE = 1
|
3582
|
+
|
3583
|
+
# Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding.
|
3584
|
+
def setLineEndTypesAllowed(lineEndBitSet)
|
3585
|
+
sendMessage(2656, lineEndBitSet, 0)
|
3586
|
+
end
|
3587
|
+
|
3588
|
+
# Get the line end types currently allowed.
|
3589
|
+
def getLineEndTypesAllowed
|
3590
|
+
sendMessage(2657, 0, 0)
|
3591
|
+
end
|
3592
|
+
|
3593
|
+
# Get the line end types currently recognised. May be a subset of the allowed types due to lexer limitation.
|
3594
|
+
def getLineEndTypesActive
|
3595
|
+
sendMessage(2658, 0, 0)
|
3596
|
+
end
|
3597
|
+
|
3598
|
+
# Set the way a character is drawn.
|
3599
|
+
def setRepresentation(encodedCharacter, representation)
|
3600
|
+
sendMessage(2665, encodedCharacter, representation)
|
3601
|
+
end
|
3602
|
+
|
3603
|
+
# Set the way a character is drawn.
|
3604
|
+
def getRepresentation(encodedCharacter)
|
3605
|
+
buffer = "".ljust(encodedCharacter)
|
3606
|
+
sendMessage(2666, encodedCharacter, buffer)
|
3607
|
+
buffer
|
3608
|
+
end
|
3609
|
+
|
3610
|
+
# Remove a character representation.
|
3611
|
+
def clearRepresentation(encodedCharacter)
|
3612
|
+
sendMessage(2667, encodedCharacter, 0)
|
3613
|
+
end
|
3614
|
+
|
3257
3615
|
# Start notifying the container of all key presses and commands.
|
3258
3616
|
def startRecord
|
3259
3617
|
sendMessage(3001, 0, 0)
|
@@ -3365,6 +3723,58 @@ module Fox
|
|
3365
3723
|
sendMessage(4017, 0, descriptions)
|
3366
3724
|
end
|
3367
3725
|
|
3726
|
+
# Bit set of LineEndType enumertion for which line ends beyond the standard
|
3727
|
+
# LF, CR, and CRLF are supported by the lexer.
|
3728
|
+
def getLineEndTypesSupported
|
3729
|
+
sendMessage(4018, 0, 0)
|
3730
|
+
end
|
3731
|
+
|
3732
|
+
# Allocate a set of sub styles for a particular base style, returning start of range
|
3733
|
+
def allocateSubStyles(styleBase, numberStyles)
|
3734
|
+
sendMessage(4020, styleBase, numberStyles)
|
3735
|
+
end
|
3736
|
+
|
3737
|
+
# The starting style number for the sub styles associated with a base style
|
3738
|
+
def getSubStylesStart(styleBase)
|
3739
|
+
sendMessage(4021, styleBase, 0)
|
3740
|
+
end
|
3741
|
+
|
3742
|
+
# The number of sub styles associated with a base style
|
3743
|
+
def getSubStylesLength(styleBase)
|
3744
|
+
sendMessage(4022, styleBase, 0)
|
3745
|
+
end
|
3746
|
+
|
3747
|
+
# For a sub style, return the base style, else return the argument.
|
3748
|
+
def getStyleFromSubStyle(subStyle)
|
3749
|
+
sendMessage(4027, subStyle, 0)
|
3750
|
+
end
|
3751
|
+
|
3752
|
+
# For a secondary style, return the primary style, else return the argument.
|
3753
|
+
def getPrimaryStyleFromStyle(style)
|
3754
|
+
sendMessage(4028, style, 0)
|
3755
|
+
end
|
3756
|
+
|
3757
|
+
# Free allocated sub styles
|
3758
|
+
def freeSubStyles
|
3759
|
+
sendMessage(4023, 0, 0)
|
3760
|
+
end
|
3761
|
+
|
3762
|
+
# Set the identifiers that are shown in a particular style
|
3763
|
+
def setIdentifiers(style, identifiers)
|
3764
|
+
sendMessage(4024, style, identifiers)
|
3765
|
+
end
|
3766
|
+
|
3767
|
+
# Where styles are duplicated by a feature such as active/inactive code
|
3768
|
+
# return the distance between the two types.
|
3769
|
+
def distanceToSecondaryStyles
|
3770
|
+
sendMessage(4025, 0, 0)
|
3771
|
+
end
|
3772
|
+
|
3773
|
+
# Get the set of base styles that can be extended with sub styles
|
3774
|
+
def getSubStyleBases
|
3775
|
+
sendMessage(4026, 0, styles)
|
3776
|
+
end
|
3777
|
+
|
3368
3778
|
# Notifications
|
3369
3779
|
# Type of modification and the action which caused the modification.
|
3370
3780
|
# These are defined as a bit mask to make it easy to specify which notifications are wanted.
|
@@ -3389,7 +3799,9 @@ module Fox
|
|
3389
3799
|
SC_MOD_CHANGEANNOTATION = 0x20000
|
3390
3800
|
SC_MOD_CONTAINER = 0x40000
|
3391
3801
|
SC_MOD_LEXERSTATE = 0x80000
|
3392
|
-
|
3802
|
+
SC_MOD_INSERTCHECK = 0x100000
|
3803
|
+
SC_MOD_CHANGETABSTOPS = 0x200000
|
3804
|
+
SC_MODEVENTMASKALL = 0x3FFFFF
|
3393
3805
|
|
3394
3806
|
SC_UPDATE_CONTENT = 0x1
|
3395
3807
|
SC_UPDATE_SELECTION = 0x2
|
@@ -3537,6 +3949,21 @@ module Fox
|
|
3537
3949
|
SCLEX_TXT2TAGS = 99
|
3538
3950
|
SCLEX_A68K = 100
|
3539
3951
|
SCLEX_MODULA = 101
|
3952
|
+
SCLEX_COFFEESCRIPT = 102
|
3953
|
+
SCLEX_TCMD = 103
|
3954
|
+
SCLEX_AVS = 104
|
3955
|
+
SCLEX_ECL = 105
|
3956
|
+
SCLEX_OSCRIPT = 106
|
3957
|
+
SCLEX_VISUALPROLOG = 107
|
3958
|
+
SCLEX_LITERATEHASKELL = 108
|
3959
|
+
SCLEX_STTXT = 109
|
3960
|
+
SCLEX_KVIRC = 110
|
3961
|
+
SCLEX_RUST = 111
|
3962
|
+
SCLEX_DMAP = 112
|
3963
|
+
SCLEX_AS = 113
|
3964
|
+
SCLEX_DMIS = 114
|
3965
|
+
SCLEX_REGISTRY = 115
|
3966
|
+
SCLEX_BIBTEX = 116
|
3540
3967
|
|
3541
3968
|
# When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
|
3542
3969
|
# value assigned in sequence from SCLEX_AUTOMATIC+1.
|
@@ -3581,6 +4008,12 @@ module Fox
|
|
3581
4008
|
SCE_C_GLOBALCLASS = 19
|
3582
4009
|
SCE_C_STRINGRAW = 20
|
3583
4010
|
SCE_C_TRIPLEVERBATIM = 21
|
4011
|
+
SCE_C_HASHQUOTEDSTRING = 22
|
4012
|
+
SCE_C_PREPROCESSORCOMMENT = 23
|
4013
|
+
SCE_C_PREPROCESSORCOMMENTDOC = 24
|
4014
|
+
SCE_C_USERLITERAL = 25
|
4015
|
+
SCE_C_TASKMARKER = 26
|
4016
|
+
SCE_C_ESCAPESEQUENCE = 27
|
3584
4017
|
# Lexical states for SCLEX_D
|
3585
4018
|
SCE_D_DEFAULT = 0
|
3586
4019
|
SCE_D_COMMENT = 1
|
@@ -3788,6 +4221,16 @@ module Fox
|
|
3788
4221
|
SCE_PL_SUB_PROTOTYPE = 40
|
3789
4222
|
SCE_PL_FORMAT_IDENT = 41
|
3790
4223
|
SCE_PL_FORMAT = 42
|
4224
|
+
SCE_PL_STRING_VAR = 43
|
4225
|
+
SCE_PL_XLAT = 44
|
4226
|
+
SCE_PL_REGEX_VAR = 54
|
4227
|
+
SCE_PL_REGSUBST_VAR = 55
|
4228
|
+
SCE_PL_BACKTICKS_VAR = 57
|
4229
|
+
SCE_PL_HERE_QQ_VAR = 61
|
4230
|
+
SCE_PL_HERE_QX_VAR = 62
|
4231
|
+
SCE_PL_STRING_QQ_VAR = 64
|
4232
|
+
SCE_PL_STRING_QX_VAR = 65
|
4233
|
+
SCE_PL_STRING_QR_VAR = 66
|
3791
4234
|
# Lexical states for SCLEX_RUBY
|
3792
4235
|
SCE_RB_DEFAULT = 0
|
3793
4236
|
SCE_RB_ERROR = 1
|
@@ -3843,6 +4286,10 @@ module Fox
|
|
3843
4286
|
SCE_B_ERROR = 16
|
3844
4287
|
SCE_B_HEXNUMBER = 17
|
3845
4288
|
SCE_B_BINNUMBER = 18
|
4289
|
+
SCE_B_COMMENTBLOCK = 19
|
4290
|
+
SCE_B_DOCLINE = 20
|
4291
|
+
SCE_B_DOCBLOCK = 21
|
4292
|
+
SCE_B_DOCKEYWORD = 22
|
3846
4293
|
# Lexical states for SCLEX_PROPERTIES
|
3847
4294
|
SCE_PROPS_DEFAULT = 0
|
3848
4295
|
SCE_PROPS_COMMENT = 1
|
@@ -3856,6 +4303,14 @@ module Fox
|
|
3856
4303
|
SCE_L_TAG = 2
|
3857
4304
|
SCE_L_MATH = 3
|
3858
4305
|
SCE_L_COMMENT = 4
|
4306
|
+
SCE_L_TAG2 = 5
|
4307
|
+
SCE_L_MATH2 = 6
|
4308
|
+
SCE_L_COMMENT2 = 7
|
4309
|
+
SCE_L_VERBATIM = 8
|
4310
|
+
SCE_L_SHORTCMD = 9
|
4311
|
+
SCE_L_SPECIAL = 10
|
4312
|
+
SCE_L_CMDOPT = 11
|
4313
|
+
SCE_L_ERROR = 12
|
3859
4314
|
# Lexical states for SCLEX_LUA
|
3860
4315
|
SCE_LUA_DEFAULT = 0
|
3861
4316
|
SCE_LUA_COMMENT = 1
|
@@ -3877,6 +4332,7 @@ module Fox
|
|
3877
4332
|
SCE_LUA_WORD6 = 17
|
3878
4333
|
SCE_LUA_WORD7 = 18
|
3879
4334
|
SCE_LUA_WORD8 = 19
|
4335
|
+
SCE_LUA_LABEL = 20
|
3880
4336
|
# Lexical states for SCLEX_ERRORLIST
|
3881
4337
|
SCE_ERR_DEFAULT = 0
|
3882
4338
|
SCE_ERR_PYTHON = 1
|
@@ -3900,6 +4356,7 @@ module Fox
|
|
3900
4356
|
SCE_ERR_TIDY = 19
|
3901
4357
|
SCE_ERR_JAVA_STACK = 20
|
3902
4358
|
SCE_ERR_VALUE = 21
|
4359
|
+
SCE_ERR_GCC_INCLUDED_FROM = 22
|
3903
4360
|
# Lexical states for SCLEX_BATCH
|
3904
4361
|
SCE_BAT_DEFAULT = 0
|
3905
4362
|
SCE_BAT_COMMENT = 1
|
@@ -3909,6 +4366,18 @@ module Fox
|
|
3909
4366
|
SCE_BAT_COMMAND = 5
|
3910
4367
|
SCE_BAT_IDENTIFIER = 6
|
3911
4368
|
SCE_BAT_OPERATOR = 7
|
4369
|
+
# Lexical states for SCLEX_TCMD
|
4370
|
+
SCE_TCMD_DEFAULT = 0
|
4371
|
+
SCE_TCMD_COMMENT = 1
|
4372
|
+
SCE_TCMD_WORD = 2
|
4373
|
+
SCE_TCMD_LABEL = 3
|
4374
|
+
SCE_TCMD_HIDE = 4
|
4375
|
+
SCE_TCMD_COMMAND = 5
|
4376
|
+
SCE_TCMD_IDENTIFIER = 6
|
4377
|
+
SCE_TCMD_OPERATOR = 7
|
4378
|
+
SCE_TCMD_ENVIRONMENT = 8
|
4379
|
+
SCE_TCMD_EXPANSION = 9
|
4380
|
+
SCE_TCMD_CLABEL = 10
|
3912
4381
|
# Lexical states for SCLEX_MAKEFILE
|
3913
4382
|
SCE_MAKE_DEFAULT = 0
|
3914
4383
|
SCE_MAKE_COMMENT = 1
|
@@ -4054,7 +4523,7 @@ module Fox
|
|
4054
4523
|
SCE_SCRIPTOL_TRIPLE = 13
|
4055
4524
|
SCE_SCRIPTOL_CLASSNAME = 14
|
4056
4525
|
SCE_SCRIPTOL_PREPROCESSOR = 15
|
4057
|
-
# Lexical states for SCLEX_ASM
|
4526
|
+
# Lexical states for SCLEX_ASM, SCLEX_AS
|
4058
4527
|
SCE_ASM_DEFAULT = 0
|
4059
4528
|
SCE_ASM_COMMENT = 1
|
4060
4529
|
SCE_ASM_NUMBER = 2
|
@@ -4111,6 +4580,7 @@ module Fox
|
|
4111
4580
|
SCE_CSS_EXTENDED_PSEUDOCLASS = 20
|
4112
4581
|
SCE_CSS_EXTENDED_PSEUDOELEMENT = 21
|
4113
4582
|
SCE_CSS_MEDIA = 22
|
4583
|
+
SCE_CSS_VARIABLE = 23
|
4114
4584
|
# Lexical states for SCLEX_POV
|
4115
4585
|
SCE_POV_DEFAULT = 0
|
4116
4586
|
SCE_POV_COMMENT = 1
|
@@ -4333,6 +4803,7 @@ module Fox
|
|
4333
4803
|
SCE_KIX_KEYWORD = 7
|
4334
4804
|
SCE_KIX_FUNCTIONS = 8
|
4335
4805
|
SCE_KIX_OPERATOR = 9
|
4806
|
+
SCE_KIX_COMMENTSTREAM = 10
|
4336
4807
|
SCE_KIX_IDENTIFIER = 31
|
4337
4808
|
# Lexical states for SCLEX_GUI4CLI
|
4338
4809
|
SCE_GC_DEFAULT = 0
|
@@ -4436,6 +4907,7 @@ module Fox
|
|
4436
4907
|
SCE_VHDL_STDPACKAGE = 12
|
4437
4908
|
SCE_VHDL_STDTYPE = 13
|
4438
4909
|
SCE_VHDL_USERWORD = 14
|
4910
|
+
SCE_VHDL_BLOCK_COMMENT = 15
|
4439
4911
|
# Lexical states for SCLEX_CAML
|
4440
4912
|
SCE_CAML_DEFAULT = 0
|
4441
4913
|
SCE_CAML_IDENTIFIER = 1
|
@@ -4471,6 +4943,12 @@ module Fox
|
|
4471
4943
|
SCE_HA_COMMENTBLOCK = 14
|
4472
4944
|
SCE_HA_COMMENTBLOCK2 = 15
|
4473
4945
|
SCE_HA_COMMENTBLOCK3 = 16
|
4946
|
+
SCE_HA_PRAGMA = 17
|
4947
|
+
SCE_HA_PREPROCESSOR = 18
|
4948
|
+
SCE_HA_STRINGEOL = 19
|
4949
|
+
SCE_HA_RESERVED_OPERATOR = 20
|
4950
|
+
SCE_HA_LITERATE_COMMENT = 21
|
4951
|
+
SCE_HA_LITERATE_CODEDELIM = 22
|
4474
4952
|
# Lexical states of SCLEX_TADS3
|
4475
4953
|
SCE_T3_DEFAULT = 0
|
4476
4954
|
SCE_T3_X_DEFAULT = 1
|
@@ -4546,6 +5024,7 @@ module Fox
|
|
4546
5024
|
SCE_SQL_USER3 = 21
|
4547
5025
|
SCE_SQL_USER4 = 22
|
4548
5026
|
SCE_SQL_QUOTEDIDENTIFIER = 23
|
5027
|
+
SCE_SQL_QOPERATOR = 24
|
4549
5028
|
# Lexical states for SCLEX_SMALLTALK
|
4550
5029
|
SCE_ST_DEFAULT = 0
|
4551
5030
|
SCE_ST_STRING = 1
|
@@ -4760,7 +5239,7 @@ module Fox
|
|
4760
5239
|
SCE_R_IDENTIFIER = 9
|
4761
5240
|
SCE_R_INFIX = 10
|
4762
5241
|
SCE_R_INFIXEOL = 11
|
4763
|
-
# Lexical state for
|
5242
|
+
# Lexical state for SCLEX_MAGIK
|
4764
5243
|
SCE_MAGIK_DEFAULT = 0
|
4765
5244
|
SCE_MAGIK_COMMENT = 1
|
4766
5245
|
SCE_MAGIK_HYPER_COMMENT = 16
|
@@ -4793,6 +5272,9 @@ module Fox
|
|
4793
5272
|
SCE_POWERSHELL_FUNCTION = 11
|
4794
5273
|
SCE_POWERSHELL_USER1 = 12
|
4795
5274
|
SCE_POWERSHELL_COMMENTSTREAM = 13
|
5275
|
+
SCE_POWERSHELL_HERE_STRING = 14
|
5276
|
+
SCE_POWERSHELL_HERE_CHARACTER = 15
|
5277
|
+
SCE_POWERSHELL_COMMENTDOCKEYWORD = 16
|
4796
5278
|
# Lexical state for SCLEX_MYSQL
|
4797
5279
|
SCE_MYSQL_DEFAULT = 0
|
4798
5280
|
SCE_MYSQL_COMMENT = 1
|
@@ -4816,6 +5298,7 @@ module Fox
|
|
4816
5298
|
SCE_MYSQL_USER2 = 19
|
4817
5299
|
SCE_MYSQL_USER3 = 20
|
4818
5300
|
SCE_MYSQL_HIDDENCOMMAND = 21
|
5301
|
+
SCE_MYSQL_PLACEHOLDER = 22
|
4819
5302
|
# Lexical state for SCLEX_PO
|
4820
5303
|
SCE_PO_DEFAULT = 0
|
4821
5304
|
SCE_PO_COMMENT = 1
|
@@ -4826,6 +5309,13 @@ module Fox
|
|
4826
5309
|
SCE_PO_MSGCTXT = 6
|
4827
5310
|
SCE_PO_MSGCTXT_TEXT = 7
|
4828
5311
|
SCE_PO_FUZZY = 8
|
5312
|
+
SCE_PO_PROGRAMMER_COMMENT = 9
|
5313
|
+
SCE_PO_REFERENCE = 10
|
5314
|
+
SCE_PO_FLAGS = 11
|
5315
|
+
SCE_PO_MSGID_TEXT_EOL = 12
|
5316
|
+
SCE_PO_MSGSTR_TEXT_EOL = 13
|
5317
|
+
SCE_PO_MSGCTXT_TEXT_EOL = 14
|
5318
|
+
SCE_PO_ERROR = 15
|
4829
5319
|
# Lexical states for SCLEX_PASCAL
|
4830
5320
|
SCE_PAS_DEFAULT = 0
|
4831
5321
|
SCE_PAS_IDENTIFIER = 1
|
@@ -4976,6 +5466,225 @@ module Fox
|
|
4976
5466
|
SCE_MODULA_PRGKEY = 15
|
4977
5467
|
SCE_MODULA_OPERATOR = 16
|
4978
5468
|
SCE_MODULA_BADSTR = 17
|
5469
|
+
# Lexical states for SCLEX_COFFEESCRIPT
|
5470
|
+
SCE_COFFEESCRIPT_DEFAULT = 0
|
5471
|
+
SCE_COFFEESCRIPT_COMMENT = 1
|
5472
|
+
SCE_COFFEESCRIPT_COMMENTLINE = 2
|
5473
|
+
SCE_COFFEESCRIPT_COMMENTDOC = 3
|
5474
|
+
SCE_COFFEESCRIPT_NUMBER = 4
|
5475
|
+
SCE_COFFEESCRIPT_WORD = 5
|
5476
|
+
SCE_COFFEESCRIPT_STRING = 6
|
5477
|
+
SCE_COFFEESCRIPT_CHARACTER = 7
|
5478
|
+
SCE_COFFEESCRIPT_UUID = 8
|
5479
|
+
SCE_COFFEESCRIPT_PREPROCESSOR = 9
|
5480
|
+
SCE_COFFEESCRIPT_OPERATOR = 10
|
5481
|
+
SCE_COFFEESCRIPT_IDENTIFIER = 11
|
5482
|
+
SCE_COFFEESCRIPT_STRINGEOL = 12
|
5483
|
+
SCE_COFFEESCRIPT_VERBATIM = 13
|
5484
|
+
SCE_COFFEESCRIPT_REGEX = 14
|
5485
|
+
SCE_COFFEESCRIPT_COMMENTLINEDOC = 15
|
5486
|
+
SCE_COFFEESCRIPT_WORD2 = 16
|
5487
|
+
SCE_COFFEESCRIPT_COMMENTDOCKEYWORD = 17
|
5488
|
+
SCE_COFFEESCRIPT_COMMENTDOCKEYWORDERROR = 18
|
5489
|
+
SCE_COFFEESCRIPT_GLOBALCLASS = 19
|
5490
|
+
SCE_COFFEESCRIPT_STRINGRAW = 20
|
5491
|
+
SCE_COFFEESCRIPT_TRIPLEVERBATIM = 21
|
5492
|
+
SCE_COFFEESCRIPT_COMMENTBLOCK = 22
|
5493
|
+
SCE_COFFEESCRIPT_VERBOSE_REGEX = 23
|
5494
|
+
SCE_COFFEESCRIPT_VERBOSE_REGEX_COMMENT = 24
|
5495
|
+
# Lexical states for SCLEX_AVS
|
5496
|
+
SCE_AVS_DEFAULT = 0
|
5497
|
+
SCE_AVS_COMMENTBLOCK = 1
|
5498
|
+
SCE_AVS_COMMENTBLOCKN = 2
|
5499
|
+
SCE_AVS_COMMENTLINE = 3
|
5500
|
+
SCE_AVS_NUMBER = 4
|
5501
|
+
SCE_AVS_OPERATOR = 5
|
5502
|
+
SCE_AVS_IDENTIFIER = 6
|
5503
|
+
SCE_AVS_STRING = 7
|
5504
|
+
SCE_AVS_TRIPLESTRING = 8
|
5505
|
+
SCE_AVS_KEYWORD = 9
|
5506
|
+
SCE_AVS_FILTER = 10
|
5507
|
+
SCE_AVS_PLUGIN = 11
|
5508
|
+
SCE_AVS_FUNCTION = 12
|
5509
|
+
SCE_AVS_CLIPPROP = 13
|
5510
|
+
SCE_AVS_USERDFN = 14
|
5511
|
+
# Lexical states for SCLEX_ECL
|
5512
|
+
SCE_ECL_DEFAULT = 0
|
5513
|
+
SCE_ECL_COMMENT = 1
|
5514
|
+
SCE_ECL_COMMENTLINE = 2
|
5515
|
+
SCE_ECL_NUMBER = 3
|
5516
|
+
SCE_ECL_STRING = 4
|
5517
|
+
SCE_ECL_WORD0 = 5
|
5518
|
+
SCE_ECL_OPERATOR = 6
|
5519
|
+
SCE_ECL_CHARACTER = 7
|
5520
|
+
SCE_ECL_UUID = 8
|
5521
|
+
SCE_ECL_PREPROCESSOR = 9
|
5522
|
+
SCE_ECL_UNKNOWN = 10
|
5523
|
+
SCE_ECL_IDENTIFIER = 11
|
5524
|
+
SCE_ECL_STRINGEOL = 12
|
5525
|
+
SCE_ECL_VERBATIM = 13
|
5526
|
+
SCE_ECL_REGEX = 14
|
5527
|
+
SCE_ECL_COMMENTLINEDOC = 15
|
5528
|
+
SCE_ECL_WORD1 = 16
|
5529
|
+
SCE_ECL_COMMENTDOCKEYWORD = 17
|
5530
|
+
SCE_ECL_COMMENTDOCKEYWORDERROR = 18
|
5531
|
+
SCE_ECL_WORD2 = 19
|
5532
|
+
SCE_ECL_WORD3 = 20
|
5533
|
+
SCE_ECL_WORD4 = 21
|
5534
|
+
SCE_ECL_WORD5 = 22
|
5535
|
+
SCE_ECL_COMMENTDOC = 23
|
5536
|
+
SCE_ECL_ADDED = 24
|
5537
|
+
SCE_ECL_DELETED = 25
|
5538
|
+
SCE_ECL_CHANGED = 26
|
5539
|
+
SCE_ECL_MOVED = 27
|
5540
|
+
# Lexical states for SCLEX_OSCRIPT
|
5541
|
+
SCE_OSCRIPT_DEFAULT = 0
|
5542
|
+
SCE_OSCRIPT_LINE_COMMENT = 1
|
5543
|
+
SCE_OSCRIPT_BLOCK_COMMENT = 2
|
5544
|
+
SCE_OSCRIPT_DOC_COMMENT = 3
|
5545
|
+
SCE_OSCRIPT_PREPROCESSOR = 4
|
5546
|
+
SCE_OSCRIPT_NUMBER = 5
|
5547
|
+
SCE_OSCRIPT_SINGLEQUOTE_STRING = 6
|
5548
|
+
SCE_OSCRIPT_DOUBLEQUOTE_STRING = 7
|
5549
|
+
SCE_OSCRIPT_CONSTANT = 8
|
5550
|
+
SCE_OSCRIPT_IDENTIFIER = 9
|
5551
|
+
SCE_OSCRIPT_GLOBAL = 10
|
5552
|
+
SCE_OSCRIPT_KEYWORD = 11
|
5553
|
+
SCE_OSCRIPT_OPERATOR = 12
|
5554
|
+
SCE_OSCRIPT_LABEL = 13
|
5555
|
+
SCE_OSCRIPT_TYPE = 14
|
5556
|
+
SCE_OSCRIPT_FUNCTION = 15
|
5557
|
+
SCE_OSCRIPT_OBJECT = 16
|
5558
|
+
SCE_OSCRIPT_PROPERTY = 17
|
5559
|
+
SCE_OSCRIPT_METHOD = 18
|
5560
|
+
# Lexical states for SCLEX_VISUALPROLOG
|
5561
|
+
SCE_VISUALPROLOG_DEFAULT = 0
|
5562
|
+
SCE_VISUALPROLOG_KEY_MAJOR = 1
|
5563
|
+
SCE_VISUALPROLOG_KEY_MINOR = 2
|
5564
|
+
SCE_VISUALPROLOG_KEY_DIRECTIVE = 3
|
5565
|
+
SCE_VISUALPROLOG_COMMENT_BLOCK = 4
|
5566
|
+
SCE_VISUALPROLOG_COMMENT_LINE = 5
|
5567
|
+
SCE_VISUALPROLOG_COMMENT_KEY = 6
|
5568
|
+
SCE_VISUALPROLOG_COMMENT_KEY_ERROR = 7
|
5569
|
+
SCE_VISUALPROLOG_IDENTIFIER = 8
|
5570
|
+
SCE_VISUALPROLOG_VARIABLE = 9
|
5571
|
+
SCE_VISUALPROLOG_ANONYMOUS = 10
|
5572
|
+
SCE_VISUALPROLOG_NUMBER = 11
|
5573
|
+
SCE_VISUALPROLOG_OPERATOR = 12
|
5574
|
+
SCE_VISUALPROLOG_CHARACTER = 13
|
5575
|
+
SCE_VISUALPROLOG_CHARACTER_TOO_MANY = 14
|
5576
|
+
SCE_VISUALPROLOG_CHARACTER_ESCAPE_ERROR = 15
|
5577
|
+
SCE_VISUALPROLOG_STRING = 16
|
5578
|
+
SCE_VISUALPROLOG_STRING_ESCAPE = 17
|
5579
|
+
SCE_VISUALPROLOG_STRING_ESCAPE_ERROR = 18
|
5580
|
+
SCE_VISUALPROLOG_STRING_EOL_OPEN = 19
|
5581
|
+
SCE_VISUALPROLOG_STRING_VERBATIM = 20
|
5582
|
+
SCE_VISUALPROLOG_STRING_VERBATIM_SPECIAL = 21
|
5583
|
+
SCE_VISUALPROLOG_STRING_VERBATIM_EOL = 22
|
5584
|
+
# Lexical states for SCLEX_STTXT
|
5585
|
+
SCE_STTXT_DEFAULT = 0
|
5586
|
+
SCE_STTXT_COMMENT = 1
|
5587
|
+
SCE_STTXT_COMMENTLINE = 2
|
5588
|
+
SCE_STTXT_KEYWORD = 3
|
5589
|
+
SCE_STTXT_TYPE = 4
|
5590
|
+
SCE_STTXT_FUNCTION = 5
|
5591
|
+
SCE_STTXT_FB = 6
|
5592
|
+
SCE_STTXT_NUMBER = 7
|
5593
|
+
SCE_STTXT_HEXNUMBER = 8
|
5594
|
+
SCE_STTXT_PRAGMA = 9
|
5595
|
+
SCE_STTXT_OPERATOR = 10
|
5596
|
+
SCE_STTXT_CHARACTER = 11
|
5597
|
+
SCE_STTXT_STRING1 = 12
|
5598
|
+
SCE_STTXT_STRING2 = 13
|
5599
|
+
SCE_STTXT_STRINGEOL = 14
|
5600
|
+
SCE_STTXT_IDENTIFIER = 15
|
5601
|
+
SCE_STTXT_DATETIME = 16
|
5602
|
+
SCE_STTXT_VARS = 17
|
5603
|
+
SCE_STTXT_PRAGMAS = 18
|
5604
|
+
# Lexical states for SCLEX_KVIRC
|
5605
|
+
SCE_KVIRC_DEFAULT = 0
|
5606
|
+
SCE_KVIRC_COMMENT = 1
|
5607
|
+
SCE_KVIRC_COMMENTBLOCK = 2
|
5608
|
+
SCE_KVIRC_STRING = 3
|
5609
|
+
SCE_KVIRC_WORD = 4
|
5610
|
+
SCE_KVIRC_KEYWORD = 5
|
5611
|
+
SCE_KVIRC_FUNCTION_KEYWORD = 6
|
5612
|
+
SCE_KVIRC_FUNCTION = 7
|
5613
|
+
SCE_KVIRC_VARIABLE = 8
|
5614
|
+
SCE_KVIRC_NUMBER = 9
|
5615
|
+
SCE_KVIRC_OPERATOR = 10
|
5616
|
+
SCE_KVIRC_STRING_FUNCTION = 11
|
5617
|
+
SCE_KVIRC_STRING_VARIABLE = 12
|
5618
|
+
# Lexical states for SCLEX_RUST
|
5619
|
+
SCE_RUST_DEFAULT = 0
|
5620
|
+
SCE_RUST_COMMENTBLOCK = 1
|
5621
|
+
SCE_RUST_COMMENTLINE = 2
|
5622
|
+
SCE_RUST_COMMENTBLOCKDOC = 3
|
5623
|
+
SCE_RUST_COMMENTLINEDOC = 4
|
5624
|
+
SCE_RUST_NUMBER = 5
|
5625
|
+
SCE_RUST_WORD = 6
|
5626
|
+
SCE_RUST_WORD2 = 7
|
5627
|
+
SCE_RUST_WORD3 = 8
|
5628
|
+
SCE_RUST_WORD4 = 9
|
5629
|
+
SCE_RUST_WORD5 = 10
|
5630
|
+
SCE_RUST_WORD6 = 11
|
5631
|
+
SCE_RUST_WORD7 = 12
|
5632
|
+
SCE_RUST_STRING = 13
|
5633
|
+
SCE_RUST_STRINGR = 14
|
5634
|
+
SCE_RUST_CHARACTER = 15
|
5635
|
+
SCE_RUST_OPERATOR = 16
|
5636
|
+
SCE_RUST_IDENTIFIER = 17
|
5637
|
+
SCE_RUST_LIFETIME = 18
|
5638
|
+
SCE_RUST_MACRO = 19
|
5639
|
+
SCE_RUST_LEXERROR = 20
|
5640
|
+
SCE_RUST_BYTESTRING = 21
|
5641
|
+
SCE_RUST_BYTESTRINGR = 22
|
5642
|
+
SCE_RUST_BYTECHARACTER = 23
|
5643
|
+
# Lexical states for SCLEX_DMAP
|
5644
|
+
SCE_DMAP_DEFAULT = 0
|
5645
|
+
SCE_DMAP_COMMENT = 1
|
5646
|
+
SCE_DMAP_NUMBER = 2
|
5647
|
+
SCE_DMAP_STRING1 = 3
|
5648
|
+
SCE_DMAP_STRING2 = 4
|
5649
|
+
SCE_DMAP_STRINGEOL = 5
|
5650
|
+
SCE_DMAP_OPERATOR = 6
|
5651
|
+
SCE_DMAP_IDENTIFIER = 7
|
5652
|
+
SCE_DMAP_WORD = 8
|
5653
|
+
SCE_DMAP_WORD2 = 9
|
5654
|
+
SCE_DMAP_WORD3 = 10
|
5655
|
+
# Lexical states for SCLEX_DMIS
|
5656
|
+
SCE_DMIS_DEFAULT = 0
|
5657
|
+
SCE_DMIS_COMMENT = 1
|
5658
|
+
SCE_DMIS_STRING = 2
|
5659
|
+
SCE_DMIS_NUMBER = 3
|
5660
|
+
SCE_DMIS_KEYWORD = 4
|
5661
|
+
SCE_DMIS_MAJORWORD = 5
|
5662
|
+
SCE_DMIS_MINORWORD = 6
|
5663
|
+
SCE_DMIS_UNSUPPORTED_MAJOR = 7
|
5664
|
+
SCE_DMIS_UNSUPPORTED_MINOR = 8
|
5665
|
+
SCE_DMIS_LABEL = 9
|
5666
|
+
# Lexical states for SCLEX_REGISTRY
|
5667
|
+
SCE_REG_DEFAULT = 0
|
5668
|
+
SCE_REG_COMMENT = 1
|
5669
|
+
SCE_REG_VALUENAME = 2
|
5670
|
+
SCE_REG_STRING = 3
|
5671
|
+
SCE_REG_HEXDIGIT = 4
|
5672
|
+
SCE_REG_VALUETYPE = 5
|
5673
|
+
SCE_REG_ADDEDKEY = 6
|
5674
|
+
SCE_REG_DELETEDKEY = 7
|
5675
|
+
SCE_REG_ESCAPED = 8
|
5676
|
+
SCE_REG_KEYPATH_GUID = 9
|
5677
|
+
SCE_REG_STRING_GUID = 10
|
5678
|
+
SCE_REG_PARAMETER = 11
|
5679
|
+
SCE_REG_OPERATOR = 12
|
5680
|
+
# Lexical state for SCLEX_BIBTEX
|
5681
|
+
SCE_BIBTEX_DEFAULT = 0
|
5682
|
+
SCE_BIBTEX_ENTRY = 1
|
5683
|
+
SCE_BIBTEX_UNKNOWN_ENTRY = 2
|
5684
|
+
SCE_BIBTEX_KEY = 3
|
5685
|
+
SCE_BIBTEX_PARAMETER = 4
|
5686
|
+
SCE_BIBTEX_VALUE = 5
|
5687
|
+
SCE_BIBTEX_COMMENT = 6
|
4979
5688
|
|
4980
5689
|
# Events
|
4981
5690
|
|
@@ -5007,11 +5716,30 @@ module Fox
|
|
5007
5716
|
SCN_AUTOCCANCELLED = 2025
|
5008
5717
|
SCN_AUTOCCHARDELETED = 2026
|
5009
5718
|
SCN_HOTSPOTRELEASECLICK = 2027
|
5719
|
+
SCN_FOCUSIN = 2028
|
5720
|
+
SCN_FOCUSOUT = 2029
|
5721
|
+
|
5722
|
+
# There are no provisional features currently
|
5723
|
+
|
5724
|
+
# Provisional
|
5010
5725
|
|
5011
5726
|
# Deprecated
|
5012
5727
|
|
5013
5728
|
# Deprecated in 2.21
|
5014
5729
|
# The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.
|
5015
5730
|
SC_CP_DBCS = 1
|
5731
|
+
|
5732
|
+
# Deprecated in 2.30
|
5733
|
+
|
5734
|
+
# In palette mode?
|
5735
|
+
def getUsePalette
|
5736
|
+
sendMessage(2139, 0, 0) == 1 ? true : false
|
5737
|
+
end
|
5738
|
+
|
5739
|
+
# In palette mode, Scintilla uses the environment's palette calls to display
|
5740
|
+
# more colours. This may lead to ugly displays.
|
5741
|
+
def setUsePalette(usePalette)
|
5742
|
+
sendMessage(2039, usePalette, 0)
|
5743
|
+
end
|
5016
5744
|
end
|
5017
5745
|
end
|