| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta name="copyright" content="Copyright (c) Eclipse contributors and others 2018. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page."/> |
| <meta http-equiv="Content-Language" content="en-us"/> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| <link rel="STYLESHEET" href="news.css" type="text/css"/> |
| <style type="text/css"> |
| body {max-width: 900px;} |
| table.news col.title {width: 30%;} |
| /*img {max-width: 520px;}*/ |
| table.news {table-layout: fixed; border-collapse: collapse; width: 100%;} |
| table.news td {border-top: solid thin black; padding: 10px; overflow: visible;} |
| table.news tr {vertical-align: top;} |
| table.news tr td.section {font-size: 20px; font-weight: bold;} |
| table.news tr td.title {vertical-align: top; font-weight: bold;} |
| table.news tr td.content {vertical-align: top;} |
| ul {padding-left: 13px;} |
| </style> |
| <title>Eclipse Project 4.10 - New and Noteworthy</title> |
| </head> |
| |
| <body> |
| <h2>Platform and Equinox API</h2> |
| <ul> |
| <li><a href="#Platform">Platform Changes</a></li> |
| <li><a href="#SWT">SWT Changes</a></li> |
| </ul> |
| |
| <!-- ****************** START OF N&N TABLE****************** --> |
| <table class="news"> |
| <colgroup> |
| <col class="title" /> |
| <col /> |
| </colgroup> |
| <tbody> |
| <!-- ******************** Platform ********************** --> |
| <tr> |
| <td id="Platform" class="section" colspan="2"><h2>Platform Changes</h2></td> |
| </tr> |
| |
| <tr id="contentassistant-enable-completion-proposal-trigger-chars"> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=539165 --> |
| <td class="title">Enable/Disable completion proposal trigger characters in ContentAssistant</td> |
| <td class="content"> |
| New methods have been added to the <code>ContentAssistant</code> class to allow consumers to configure whether the |
| completion proposal trigger characters (which can be used in addition to <b>Enter</b> key to insert |
| the current completion proposal) are honored or ignored. |
| <p> |
| If <code>ContentAssistant.enableCompletionProposalTriggerChars(false)</code> is used, |
| then completion proposal trigger characters are ignored and user needs to press the <b>Enter</b> key to |
| trigger insertion.<br/> |
| If <code>ContentAssistant.enableCompletionProposalTriggerChars(true)</code> is used, then completion proposal |
| trigger characters can be used in addition to the <b>Enter</b> key to insert the proposal.<br/> |
| If the <code>enableCompletionProposalTriggerChars(boolean)</code> method is not called, then the default behavior is equivalent |
| to calling <code>enableCompletionProposalTriggerChars(true)</code> so that extra trigger characters are honored. |
| </p> |
| <p> |
| This feature is useful if your content-assist is configured to automatically trigger often (such |
| as on every character insertion). Coupling heavy usage of auto-activation of content-assist and extra |
| insertion trigger characters often results in undesired insertions, making it preferable to keep only |
| Enter as the insertion character (<code>ContentAssistant.enableCompletionProposalTriggerChars(false)</code>). |
| </p> |
| </td> |
| </tr> |
| <!-- ******************** End of Platform ********************** --> |
| |
| <!-- *********************** SWT *********************** --> |
| <tr> |
| <td id="SWT" class="section" colspan="2"><h2>SWT Changes</h2></td> |
| </tr> |
| |
| <tr id="experimental-gtk4-support"> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=541173 --> |
| <td class="title">Added experimental support for GTK4</td> |
| <td class="content"> |
| SWT has introduced basic, experimental support for <b>GTK4</b>. The GTK bindings can be built using the build script |
| (<a href="http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/bundles/org.eclipse.swt/Eclipse%20SWT%20PI/gtk/library/build.sh">build.sh</a>) with the arguments <code>-gtk4 install</code>. |
| Currently only <a href="http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet1.java">Snippet1</a> works, |
| further GTK4 support will be introduced in the Eclipse 4.11 release. |
| </td> |
| </tr> |
| |
| <tr id="read-only-combo"> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=508634 --> |
| <td class="title">Styling of read-only Combo on Windows</td> |
| <td class="content"> |
| Setting the background and foreground color of a <code>SWT.READ_ONLY Combo</code> on Windows is now supported. |
| <p><img src="images/readonly_combo_windows.png" alt="Read only ComboBox on Windows"/></p> |
| </td> |
| </tr> |
| |
| <tr id="styledtext-line-vertical-indent"> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=539618 --> |
| <td class="title">API added to customize line vertical indent in StyledText</td> |
| <td class="content"> |
| A new API <code>StyledText.setLineVerticalIndent(int lineIndex, int verticalLineIndent)</code> has been added to customize the vertical indent of the line with the specified line index. |
| The corresponding getter <code>StyledText.getLineVerticalIndent(int index)</code> has also been added. |
| <p> |
| For an example, see <a href="http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet374.java">Snippet374</a> |
| which sets the vertical indent for the first line: |
| </p> |
| <pre> |
| text.setText("word1 word2 word3 word4"); |
| text.setLineVerticalIndent(0, 20); |
| </pre> |
| <p> |
| <img src="images/styledtext_line_vertical_indent.png" alt="" /> |
| </p> |
| </td> |
| </tr> |
| <!-- *********************** End of SWT *********************** --> |
| </tbody> |
| </table> |
| <!-- ****************** END OF N&N TABLE ****************** --> |
| |
| <script type="text/javascript" src="scripts.js"></script> |
| <p style="text-align:center"> |
| <a href="jdt.php">Previous</a> <a style="margin:1em" href=".">Up</a> <a href="pde.php">Next</a> |
| </p> |
| </body> |
| </html> |